Thicker Border Search Block

Screen+Shot+2019-11-24+at+12.20.50+PM.jpg

Description

Give the search block a thicker border style. This plugin uses css editor and works with all template families.


How To Install

Add a search block to any page. Set the color theme to dark.

Once the search block has been added and saved, go to the Custom CSS Editor. Copy and paste the code below into the Custom CSS Editor box.

// Thicker Border Search Block //

.sqs-search-ui-button-wrapper.color-dark .search-input {
  background-color: #FFFFFF;
  border-width: 0;
  opacity: 1;
  border: 4px solid #000000;
  }

// Search Block - Text //

.sqs-search-ui-button-wrapper.color-dark .search-input {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #000000 !important;
  opacity: 1 !important;
}

Customize

Search Block: Adjust the background color and border px and color values to your liking.

Search Block Text: This is the text within the search block. Feel free to adjust the font size, font weight, letter-spacing, and color to your liking.

The code works for the search block set to the dark theme, which is ideal for lighter themed websites. If you want to use the light themed search block, you will need to replace all “dark” text in the code with “light”.


Previous
Previous

Pill Search Block

Next
Next

Solid Underline Search Block