How do I change the border colour of a particular image on one page without making global changes to the base.css file that will effect other images?
Page url is:
https://collagenstickz.com/pages/wholesale-collagen
Desired border colour is: #A4E9EE
Advice should change this image only and not affect other images from base settings.
Hello,
Please look at my screenshot.
You can select a specific class then add a border around the image. (One way of doing this)
Here is an example code:
.color-background-2.isolate img {
border:4px solid #A4E9EE;
}
this image already has a border. I need to change it to #A4E9EE
I don’t see the image having any border color. Can you please send me a screenshot so I can better understand your issue?
@CollagenQueen
Please add the following CSS code to your assets/base.css bottom of the file.
.wholesale-collagen .isolate .global-media-settings {
border-color: #A4E9EE !important;
}
Thanks!
1 Like
Hello @CollagenQueen
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.
.image-with-text__media.image-with-text__media--adapt.gradient.color-background-2.global-media-settings.media {
border-color: #A4E9EE;
}
Won’t this put this border on every image with text on the website?
Thank you web Dmwartison for actually providing advice geared to my particular question and supplying code for that image only. Nice work!