Jump to content

Removing links on blog images

Recommended Posts

Posted

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 😊

Posted
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

image.thumb.png.bb2562c86a4b4ad53e1c4abfce7bc03f.png

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!)

  • 2 weeks later...
Posted
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

image.thumb.png.bb2562c86a4b4ad53e1c4abfce7bc03f.png

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?

Posted
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.

Posted
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  👍

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.