Scotty_90 Posted May 25 Posted May 25 Hi, I want to change the font used in a particular text box but not change the style. E.g I want it to still be registered as H1 (for SEO purposes etc) but I want it to look like P1. Is there code I can use to do this? Thanks
creedon Posted May 25 Posted May 25 Please post the URL for a page on your site where we can see your issue. For us to see the URL you need to include the link in the content of your post. The URL field the forum software provides is not shown to us. A link to the backend of the your site won’t work for us, i.e. a URL that contains /config/. Please set up a site-wide password, if your site is not public and you've not already done so. Post the password here. Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the site-wide password and how to share a link documentation to understand how they work. You may find How to post a forum question post useful. We can then 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.
Solution inside_the_square Posted May 26 Solution Posted May 26 20 hours ago, Scotty_90 said: Hi, I want to change the font used in a particular text box but not change the style. E.g I want it to still be registered as H1 (for SEO purposes etc) but I want it to look like P1. Is there code I can use to do this? Thanks Hey @Scotty_90 - you can totally do this with a little CSS! We can write a code that says "inside this specific content block, make the H1 text this font family, font weight, and font size" so it will look like your P1 but it will actually be an H1. You can use a block id & selector class to isolate it. Here is an example code you can start with: #block-123 h1{ font-family: Name!important; font-size: 15px!important; font-weight: normal!important; } To grab the ID, you can dig around the source code or use this extension: https://insidethesquare.co/chromeext Here is a little video with more info; hope it helps and best of luck with your project! 🙂 🤓 Creator of InsideTheSquare.co ✨ SQUARESPACE CIRCLE LEADER✨ SQUARESPACE EXPERT ✨ SQUARESPACE EMPLOYEE EDUCATOR ✨ CERTIFIED CUSTOM CODE EXPERT ✨ 🗺️ New to Squarespace? Get your free roadmap: insidethesquare.co/roadmap 🙋♀️ New to CSS? Learn the basics for free: insidethesquare.co/learn ⭐️ Ready to go pro? Get my custom code collection: insidethesquare.co/css
Scotty_90 Posted June 9 Author Posted June 9 Thanks @inside_the_square that’s perfect!! inside_the_square 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment