Share Search Button

  • Updated

When a client conducts a search on your website, a 'Share' option will be available to copy a link to that search.  This is a great resource for your clients to send the search to a loved one.

You could also use this link on your website (if you didn't want to build a hotsheet)- however, we don't recommend this, as it's not indexable by Google like a hotsheet would be. Find out more about how to build pages that rank here- click link).

Screen_Shot_2022-03-02_at_2.20.53_PM.png

Tip

Place the desired code(s) in the Custom CSS box under Settings > Design. You must clear your caches, then check your web page in an incognito browser to see the change!

 

Customization Options

  • This button has a transparent background by default, but you can apply a background to this button.

    Here is an example making the background color of the box to a light gray:

    Screen_Shot_2022-03-02_at_2.22.09_PM.png

    *To change the background color of the share search button: 
    .sidx-container .sidx-share-search-pill.sidx-share-search-pill {
    background-color: #hexcode !important;
    }

  • The button by default has a 1px solid border set, however, you can change the border thickness if you like.  '1px' sets the thickness of the border and 'solid' defines the style of the border. 

    Here is an example of a 5px solid border:

    Screen_Shot_2021-07-20_at_2.17.46_PM.png

    *To change the border thickness of the share search button: 
    .sidx-container .sidx-share-search-pill.sidx-share-search-pill {
    border: 5px solid !important;
    }

  • You can also change the color of the border.  

    Here is an example of a green border color:

    Screen_Shot_2021-07-20_at_2.22.06_PM.png

    *To change the border color of the share search button: 
    .sidx-container .sidx-share-search-pill.sidx-share-search-pill {
    border-color#hexcode !important;
    }

  • Border-radius changes the squareness of the button. The higher the number, the more round the button will be. 

    Here is an example of the border radius set to 20px:  

    Screen_Shot_2021-07-20_at_2.16.26_PM.png

    *To change the border-radius of the share search button: 
    .sidx-container .sidx-share-search-pill.sidx-share-search-pill {
    border-radius: 20px !important;
  • The button by default does not have a box shadow.  The first number sets the shadow directly under the button. The first '1px' sets the size of the shadow. The second '1px' sets the fade of the shadow and the hexcode sets the color.

    Here is an example of the box-shadow set to 0 7px 7px #1acb98:

    Screen_Shot_2021-07-20_at_1.26.26_PM.png

    *To change the box-shadow of the share search button: 
    .sidx-container .sidx-share-search-pill.sidx-share-search-pill {
    box-shadow0 7px 7px #1acb98 !important;
    }

  • Padding changes how much space is inside the button, between the text and the border. The first number changes the top and bottom padding.  The second number changes the left and right padding.   

    Here is an example of the padding set to 10px 15px:

    Screen_Shot_2021-07-20_at_2.40.17_PM.png

    *To change the padding of the share search button: 
    .sidx-container .sidx-share-search-pill.sidx-share-search-pill {
    padding
    : 10px 15px !important;
    }

  • The default text or font color is set to blue. The "color" line indicator of the code designates font color. 

    Here is an example of the text color to green:

    Screen_Shot_2021-07-20_at_2.48.14_PM.png

    *To change the font color of the share search button: 
    .sidx-container .sidx-share-search-pill.sidx-share-search-pill {
    color: #hexcode !important;
    }

Applying Multiple Changes

If you were to use all of the above properties to update your button, your code may look like this when placed into your design settings:


.sidx-container .sidx-share-search-pill.sidx-share-search-pill {
padding: 10px 15px !important;
border-radius: 20px !important;
box-shadow0 7px 7px #1acb98 !important;
background#1acb98 !important;
color#1acb98 !important;
border: 5px solid !important;
border-color#1acb98 !important;
}

 

Warning: Showcase IDX may make future updates to the product which may break previously acceptable CSS code, causing that section on your website to look unusual.  If you've noticed your site not looking as expected, please return to this article for the updated CSS code.

If you are inexperienced with CSS, we suggest you turn to your developer as they will be the best contact person for CSS related questions and concerns.  We are not developers and provide this baseline CSS for agents and developers experienced in coding.