cassandraneece Posted June 20, 2023 Posted June 20, 2023 Hey there! I'm trying to add image borders to some images (with the link #border) and using this code .sqs-block-image-link[href*="border"] { img { border:2px solid black !important; } } But it's only showing a border on the top and left side of the image, not all the way around. Here's the link to the website... thunderboltayurveda.squarespace.com password: ayurveda Thanks for the help!
tuanphan Posted June 22, 2023 Posted June 22, 2023 I see you figured it out with this code? #block-b505f0aea3d65897d02a { border: 2px solid #000; } 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!)
cassandraneece Posted July 6, 2023 Author Posted July 6, 2023 Thanks for your reply! =I did use that code to make it work but I was hoping I could use the CSS that targeted any image with "#border" as the link. Used the block ID method as a workaround.
tuanphan Posted July 9, 2023 Posted July 9, 2023 You can try replace it with div.image-block { border: 2px solid #000; } 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment