chard Posted September 27, 2020 Share Posted September 27, 2020 I've seen several posts on this forum suggesting header injections which can keep the site header on the top of the page as you scroll. However, using the squarespace website builder, I've generated a search bar in the body of a page. Is there a possibility of having that fixed to the top of the page when I scroll? I've attached a picture to show the search bar I am talking about. Link to comment
creedon Posted September 27, 2020 Share Posted September 27, 2020 Please give us the URL for your site. If you've not already done so set up a site-wide password. Post the password here and then we can take a look at your issue. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
chard Posted October 1, 2020 Author Share Posted October 1, 2020 Site URL: https://thebetterbecauseproject.squarespace.com/stories/ Currently we are not using a site-wide password because the website is published and public. Thanks for the help. Link to comment
tuanphan Posted October 2, 2020 Share Posted October 2, 2020 Add to Home > Design > Custom CSS .cf-filter-wrapper { position: fixed; top: 112px; left: 0; width: 100%; z-index: 999; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
chard Posted October 4, 2020 Author Share Posted October 4, 2020 The code partially works; the search bar does fix itself to the top of the page. However, it also makes the rest of the stories block stay fixed to the page. I've put a picture down below. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.