Border around images but NOT Site Logo

I have added the following CSS code that gives a nice border around my images.

img {
padding:0px;
border:0px solid #021a40;
}

However the downside to this is that it added a border around the Site Logo also. I want the Site logo to not have a border is this possible?

Thanks

The answer is probably Yes.

URL’s when asking for custom CSS makes it easy for people to help you out.

1 Like

Teefers.

Here is the URL https://jehallett.co.uk

As you can see from the link the Logo (Top Left - CIAT) has a border around it. This is replicated on every page as I put the CSS code above in the “Settings/Code” section

There’s almost certainly a proper way to do it, but this works.

.navbar .navbar-brand img {
    display: inline-block;
    border: white;
}
1 Like

Yes that works, many thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.