Image border on a specific page (blogg-loop)
Hello!
I’m using the Vantage theme (premium). I want to have a border around my images in my blogg-loop but not on my home page. I looked at your video on modifying a field with css but can’t manage to get it working.
Any clues?
I have added the following to my Custom CSS section.
.entry-content img {
border: 2px solid #000000;
max-width: 100%;
height: auto;
}Thank you!
But how do I get rid of the border around the images on the home page?
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
6Hi Ekonomipapper
Perhaps try the following:
.page-id-19 .entry-content img { border: 2px solid #000000; }Try that at Appearance > Custom CSS and let us know how you come along.
Worked perfectly, thank you!
I noticed, however, that when you go into a post the border is gone. How can I add that as well?
Rather try this:
body:not(.home) .entry-content img { border: 2px solid #000000; }That worked perfectly. Thanks man!
Super, glad that helped :)
All the best.
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.