twigsplace Posted July 25, 2019 Posted July 25, 2019 Hey guys, can any one help with a bit of coding that will remove the page title on my blog landing page but leave it on all the individual blog posts? So in the image, I want to get rid of the word BLOG?When I use the following code it removes the title from all individual blog posts too, not just the landing page: We are using Mint (which I know is retired but I don't have time to deal with the fallout of a new template right now!).TIA!
tuanphan Posted July 25, 2019 Posted July 25, 2019 @twigsplace Add to Home > Design > Custom CSS /* Remove Blog Title on Blog Page */ /* body...is Blog Page ID */ body#collection-592fedce1b631b459d0343aa h1.page-title { display: none; } 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!)
twigsplace Posted July 25, 2019 Author Posted July 25, 2019 Thanks @tuanphan I copied that to the page header code injection but it didn't work? Have I done it wrong?
twigsplace Posted July 25, 2019 Author Posted July 25, 2019 @tuanphan Aah, just noticed the bit above the code! Will try in the Custom CSS now! Thanks!
twigsplace Posted July 25, 2019 Author Posted July 25, 2019 Worked! @tuanphan you're a star, thank you!
tuanphan Posted July 25, 2019 Posted July 25, 2019 @twigsplace You're welcome With future question, when you need help with custom code, you should share site url. Because each site will need a different Custom Code, not every site is the same (mostly). 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!)
tuanphan Posted July 25, 2019 Posted July 25, 2019 @twigsplace If you want to hide the Title of any page/post, you can replace the body# with the corresponding Page ID. See how to find Page ID: https://beaverhero.com/squarespace-how-to/#HowtoFindPageID Final, you can click Accept Answer if it worked :D 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
Archived
This topic is now archived and is closed to further replies.