PDA

View Full Version : Banner wider than the rest of theme


iHunterJ
06-06-2019, 03:11 PM
<a href="http://prntscr.com/nyi1do" target="_blank">http://prntscr.com/nyi1do</a>

The banner is 1200px width yet overlaps like this? Anything I can do css wise?

In Omnibus
06-06-2019, 03:23 PM
You can add a max-width to the additional CSS file but I don't have an active version of vB4x running to give you the correct ID or class selector.

A site I Googled says the class is .logo-image but that could be a custom style.


If that is the correct class the CSS would be ...

.logo-image {
max-width: 100%;
}

iHunterJ
06-06-2019, 03:27 PM
You can add a max-width to the additional CSS file but I don't have an active version of vB4x running to give you the correct ID or class selector.

A site I Googled says the class is .logo-image but that could be a custom style.


If that is the correct class the CSS would be ...

.logo-image {
max-width: 100%;
}

Didn't seem to do anything at all

CodeStache
06-11-2019, 04:52 PM
In your case, use this CSS:


#header img {
max-width: 100%;
}

It will work with all banner size.