Skip to main content

Streamlined Search - 'More' Button

  • Updated

Showcase IDX offers two different search forms that you can use as the front-facing search for your site visitors. You can learn more about it here.

One of which, the streamlined form, has a 'More' button as the 'advanced' search. It looks like this:

 

Screen_Shot_2022-03-08_at_4.07.36_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

  • The 'More' button is transparent (no background) out of the box, but you can add a background color to the button. 

    Here is an example making the background color of the box yellow:

    Screen_Shot_2022-03-15_at_12.49.52_PM.png

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

  • The button by default has a 1px border set, however, this can be adjusted. You can make a border look many different ways. At Showcase IDX we like to use '1px solid' to define a border on buttons. '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-23_at_12.44.14_PM.png

    *To change the border of the More button:
    .sidx-container .sidx-streamlined-search .sidx-streamlined-toggle {
    border: 5px solid !important;
    }

  • You can also change the color of the border, using the same code as the border thickness. Simply add the hexcode to the end of the code.  Here is an example of a yellow border color:

    Screen_Shot_2022-03-15_at_12.50.38_PM.png

    *To change the border-color of the More button:
    .sidx-container .sidx-streamlined-search .sidx-streamlined-toggle {

    border: 1px solid #1acb98 !important; 
    }

  • Border-radius changes the squareness of the button. The higher the number, the more round the button will be.  Default is set to 3px. 

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

    Screen_Shot_2021-07-23_at_12.48.12_PM.png

    *To change the border-radius of the More button:
    .sidx-container .sidx-streamlined-search .sidx-streamlined-toggle {

    border-radius: 20px !important;
  • The button by default does not have a shadow around the bottom of the button. 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-23_at_12.49.40_PM.png

    *To change the box-shadow of the More button:
    .sidx-container .sidx-streamlined-search .sidx-streamlined-toggle {

    box-shadow0 7px 7px #1acb98 !important;
    }

  • The default text or font color is set to blue.  The "color" line indicator of the code designates font color and the drop down arrow (which share a code). 
    Here is an example of the text color to green:
    Screen_Shot_2021-07-23_at_12.52.05_PM.png
    *To change the font color of the More button:
    .sidx-container .sidx-streamlined-search .sidx-streamlined-toggle {

    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-streamlined-search .sidx-streamlined-toggle {
padding: 25px 15px !important;
border-radius6px !important;
box-shadow0 7px 7px #1acb98 !important;
background#1acb98 !important;
color#ffffff !important;
border1px solid !important;
border-color#febe0f !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.