Toerag Posted March 5 Posted March 5 Hi Tuanphan, No, the code above is my custom CSS not code injection - that's why it says <style> and contains css code. Any other suggestions? I still can't make it work.. would moving it to the top help? My Custom css does say 'error in line 1' strangely, though the only code on line one is <style> Thank you 😊
tuanphan Posted March 8 Posted March 8 On 3/5/2024 at 3:29 PM, Toerag said: Hi Tuanphan, No, the code above is my custom CSS not code injection - that's why it says <style> and contains css code. Any other suggestions? I still can't make it work.. would moving it to the top help? My Custom css does say 'error in line 1' strangely, though the only code on line one is <style> Thank you 😊 This is LESS (a version of CSS), you can't place it to Code Injection, or wrap in style tag, it will be invalid and won't work 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!)
Toerag Posted March 16 Posted March 16 On 3/8/2024 at 10:44 AM, tuanphan said: This is LESS (a version of CSS), you can't place it to Code Injection, or wrap in style tag, it will be invalid and won't work Hi Tuanphan, thank you - am I supposed to copy this code into custom CSS? It seems to be an image so I cannot copy. I tried moving the </style> tag to above your initial code suggestion, and that seems to make no difference. I'm sure this was fine when I set it up, so Squarespace must have changed things which is worrying - I fear Squarespace is going to break my website every 6 months.. is that common?
creedon Posted March 16 Posted March 16 8 minutes ago, Toerag said: I'm sure this was fine when I set it up, so Squarespace must have changed things which is worrying - I fear Squarespace is going to break my website every 6 months.. is that common? Squarespace is constantly changing things. The very nature of using custom code means that at anytime it can break. Squarespace states that they do not support custom code and it is your responsibility to maintain it in working order. 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.
Toerag Posted March 16 Posted March 16 9 minutes ago, creedon said: Squarespace is constantly changing things. The very nature of using custom code means that at anytime it can break. Squarespace states that they do not support custom code and it is your responsibility to maintain it in working order. Fair point 👍
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment