GregLassale Posted April 23, 2021 Share Posted April 23, 2021 Site URL: https://gregorylassale.com I am trying to apply this simple CSS script <style> @media screen and (max-width:640px) { h1#sqs-slash-page-header { font-size: 30px !important; } } </style> But Squarespace is returning a syntax error at line 263 which is just the style opening tag. Any idea why?? Link to comment
Wolfsilon Posted April 23, 2021 Share Posted April 23, 2021 Hello there, You cannot apply CSS to your website using <style> tags in the Custom CSS menu. If you need to use <style> tags, you can insert them in the Advanced > Code Injection > Header/Footer areas for site-wide codes. You can also apply <style> tag codes to individual pages by navigating to Pages > Index Settings/Settings > Advanced > Page Header Code Injection and insert the code for each individual page you want the code to be applied. tuanphan and creedon 2 Link to comment
GregLassale Posted April 23, 2021 Author Share Posted April 23, 2021 Oh duh. Thanks @Wolfsilon 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