Dwjngs Posted February 7, 2020 Share Posted February 7, 2020 (edited) Site URL: https://pvastx.org We're using the Clay template and have enabled the search feature in the header. It's set to only show the magnifying glass icon, and when you click on it it opens a blank page containing only the search box (which is fine). However, the search box is HUGE, spreading across the whole page and magnified. Is there a way to edit the page that's generated when clicking on the search icon to display a search box that is sized to match the content on the rest of the site? Thank you! Edited February 8, 2020 by Dwjngs Link to comment
paul2009 Posted February 7, 2020 Share Posted February 7, 2020 Sure, you can change it. What do you want it to look like? If it's just the huge font that's the issue (30px!) then you can reduce it with this: .sqs-search-container input { font-size: 14px; } Dwjngs 1 Improve your online store with our extensions.About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links.Buy me a coffee Link to comment
Dwjngs Posted February 7, 2020 Author Share Posted February 7, 2020 Hi, Paul - I'm hoping to change the size of the box itself (image attached). Your CSS works great for font size, though - thanks for the speedy and useful response! Link to comment
paul2009 Posted February 7, 2020 Share Posted February 7, 2020 To reduce the size further, try adding this too: /* Reduce search box size */ /* Use in Custom CSS. Do not republish */ @media only screen and (min-width: 800px) { .sqs-search-page-input { margin: 0 25%; padding: 8px 15px 8px 50px; background-size: 17px; } } Dwjngs 1 Improve your online store with our extensions.About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links.Buy me a coffee Link to comment
Dwjngs Posted February 7, 2020 Author Share Posted February 7, 2020 Works perfectly - thanks, Paul! 😄 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment