sarahjo Posted December 10, 2022 Posted December 10, 2022 Hey, I'd like to manually adjust the code per page to have a different subtitle per gallery. The attached image says view for example but I'd like to have the „Antwerp, Belgium" there. Is there any way to do that? Or instead of changing the view, to make the „Antwerp, Belgium„ part smaller than the Travel Diary part?
paul2009 Posted December 12, 2022 Posted December 12, 2022 Forum users need more information. Please see How to Post a Forum Question. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
sarahjo Posted December 13, 2022 Author Posted December 13, 2022 Does the link to my website help? www.sarahkoester.com
tuanphan Posted December 17, 2022 Posted December 17, 2022 On 12/13/2022 at 8:16 PM, sarahjo said: Does the link to my website help? www.sarahkoester.com Add to Design > Custom CSS /* rename view text */ .project-title h3 { font-size: 0 !important; } .project-title h3:before { content: "Antwerp, Belgium"; font-size: 16px; } 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!)
sarahjo Posted December 18, 2022 Author Posted December 18, 2022 On 12/17/2022 at 2:26 AM, tuanphan said: Add to Design > Custom CSS /* rename view text */ .project-title h3 { font-size: 0 !important; } .project-title h3:before { content: "Antwerp, Belgium"; font-size: 16px; } @tuanphanIt should only apply to one specific page and not to every page. I tried to add it in the page settings under Advanced but nothing changed. What am I doing wrong?
tuanphan Posted December 21, 2022 Posted December 21, 2022 On 12/19/2022 at 12:39 AM, sarahjo said: @tuanphanIt should only apply to one specific page and not to every page. I tried to add it in the page settings under Advanced but nothing changed. What am I doing wrong? Use some code like this (Design > Custom CSS) /* rename view text */ .project-title h3 { font-size: 0 !important; } .project-title h3:before { font-size: 16px; } a[href="/invisible-bond/"] .project-title h3:before { content: "text1"; } a[href="/ching/"] .project-title h3:before { content: "text 2"; } a[href="/fashion-editorial-business-punk/"] .project-title h3:before { content: "text3"; } 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!)
sarahjo Posted January 13, 2023 Author Posted January 13, 2023 @tuanphanThank you! But then, I would have to adjust each project separately which would lead to a very long custom CSS… Is there any workaround that the CSS would only affect specific pages? For most pages, I would like to keep the view subtitle.
tuanphan Posted January 15, 2023 Posted January 15, 2023 On 1/13/2023 at 10:24 PM, sarahjo said: @tuanphanThank you! But then, I would have to adjust each project separately which would lead to a very long custom CSS… Is there any workaround that the CSS would only affect specific pages? For most pages, I would like to keep the view subtitle. Add this code to that Page Header <style> /* rename view text */ .project-title h3 { font-size: 0 !important; } .project-title h3:before { font-size: 16px; } a[href="/invisible-bond/"] .project-title h3:before { content: "text1"; } a[href="/ching/"] .project-title h3:before { content: "text 2"; } a[href="/fashion-editorial-business-punk/"] .project-title h3:before { content: "text3"; } </style> The page will run on list page where you added the code 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment