christianXatoxi Posted June 22 Share Posted June 22 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 Share Posted June 22 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 ⬇️ About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
christianXatoxi Posted June 27 Author Share Posted June 27 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