christianXatoxi Posted June 22, 2023 Share Posted June 22, 2023 injecting custom css, doesn't recognize symbol / inside class .nameofmyclass:first-of-type { grid-column: 2 / span 2; } does not want to recognize the symbol / in the inspector, it takes it as invalid because it does not show the /... Link to comment
paul2009 Posted June 22, 2023 Share Posted June 22, 2023 27 minutes ago, christianXatoxi said: injecting custom css, doesn't recognize symbol / This is because the Custom CSS panel is actually the Custom Less panel. Less (Leaner Style Sheets) will interpret the "/" as a mathematical operator. You should be able to avoid this by escaping the string as described in the article I have linked. Did this help? Please give feedback by clicking an icon below ⬇️ 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. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
christianXatoxi Posted June 27, 2023 Author Share Posted June 27, 2023 I am placing the scaping as it is and it only shows me a syntax error... and of course now it works worse in fact 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