mnewyear Posted June 4 Share Posted June 4 I found the CSS to do what I want to my nav bar, but only want it on one page. How do I designate the change for one page only? Thank you. Link to comment
Solution paul2009 Posted June 4 Solution Share Posted June 4 1 hour ago, mnewyear said: I found the CSS to do what I want to my nav bar, but only want it on one page. Instead of adding the CSS to Design > Custom CSS, you can place it in the per-page code injection panel of the specific page. You'll find this by clicking the gear icon next to the page name in the PAGES panel. When you place CSS in this panel, you need to 'wrap it in style tags'. This means adding <style> before the CSS and </style> after it. Did this help? Please give feedback by clicking an icon below ⬇️ About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
mnewyear Posted June 6 Author Share Posted June 6 On 6/4/2023 at 4:53 AM, paul2009 said: Instead of adding the CSS to Design > Custom CSS, you can place it in the per-page code injection panel of the specific page. You'll find this by clicking the gear icon next to the page name in the PAGES panel. When you place CSS in this panel, you need to 'wrap it in style tags'. This means adding <style> before the CSS and </style> after it. Did this help? Please give feedback by clicking an icon below ⬇️ THANK YOU!!!! Will be utilizing this heavily paul2009 1 Link to comment
mnewyear Posted June 8 Author Share Posted June 8 @paul2009 do you know code to take the logo off of one page's header? I am in 7.1 and have tried what codes I have found online. I think they were for 7.0 sites, maybe? none worked Link to comment
paul2009 Posted June 9 Share Posted June 9 21 hours ago, mnewyear said: do you know code to take the logo off of one page's header? I am in 7.1 Typically you'd use something like this if you want to remove it from both desktop and mobile. Use it in the same way as described above if you only want to affect one page. .header-title-logo, .header .header-title--use-mobile-logo .header-mobile-logo { display: none; } Did this help? Please give feedback by clicking an icon below ⬇️ mnewyear 1 About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. 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