thomfountain Posted June 9, 2021 Share Posted June 9, 2021 (edited) Site URL: https://thom-fountain-2l7f.squarespace.com/work Hello! I'm trying to add the Page Description under the Page Title in an Index on the York template. Ideally, it would sit under the Page Title. I could also switch over to the Jasper Template if someone knows how to do it there (but I believe the templates are similar). Thanks! Edited June 9, 2021 by thomfountain Link to comment
creedon Posted June 9, 2021 Share Posted June 9, 2021 (edited) York and Jasper are from the York template family so there is no advantage to Jasper as far as site features/structure go. Add the following to Design > Custom CSS. .collection-5f177b67e0955420898bf442 .page-description:after { content : '[enter description here between single quotes]'; font-size : smaller; font-weight : 100; } Let us know how it goes. Edited February 2 by creedon hkimbroot 1 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
thomfountain Posted June 10, 2021 Author Share Posted June 10, 2021 Sorry, maybe my message wasn't clear. What I'm hoping for is for each page to have it's description under the title in the Index. So in my example, under Dear Toyota it would have the description for that page, etc. Thanks though! Link to comment
Solution creedon Posted June 10, 2021 Solution Share Posted June 10, 2021 (edited) These should get you started. #index-section-deartoyota .index-item-text-wrapper::after { color : white; content : '[enter description here between single quotes replacing square brackets]'; } #index-section-toyota-rm .index-item-text-wrapper::after { color : white; content : '[enter description here between single quotes replacing square brackets]'; } Just replicate the ruleset changing the id. index-section-toyota-javy-baez index-section-target index-section-welly index-section-cygnet-lake-1 index-section-draft-design-house-1 index-section-about-1 Let us know how it goes. Edited February 2 by creedon version 2 tuanphan and hkimbroot 2 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
thomfountain Posted June 10, 2021 Author Share Posted June 10, 2021 Yes!! This is perfect. Thank you so much. creedon 1 Link to comment
tocdesign Posted February 1 Share Posted February 1 This is super helpful as I've been trying to achieve the same content formating. However I'm having some issues with the custom CSS, it doesn't seem to effect the design. I've followed as above & just changed out the index section id as per my design but nothing. Any solutions? https://tocdesign.org/ Link to comment
creedon Posted February 2 Share Posted February 2 8 hours ago, tocdesign said: I've been trying to achieve the same content formating. However I'm having some issues with the custom CSS Your selectors for your rulesets are not correct. You need to use the following pattern. #index-section-[insert your page url slug here replacing square brackets] .index-item-text-wrapper::after The Page URL Slug is the one that can be seen at Page Settings > General > URL SLUG for the page. Let us know how it goes. 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
tocdesign Posted February 2 Share Posted February 2 3 hours ago, creedon said: Your selectors for your rulesets are not correct. You need to use the following pattern. #index-section-[insert your page url slug here replacing square brackets] .index-item-text-wrapper::after The Page URL Slug is the one that can be seen at Page Settings > General > URL SLUG for the page. Let us know how it goes. Thank you so much! That worked perfectly :) creedon 1 Link to comment
tocdesign Posted February 2 Share Posted February 2 If I wanted to include letter kerning (spacing the letters out) is that possible with code? 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