The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Title Image Resizing?
Hi all, this has probably been asked before. However, I cannot find it anywhere here. Here goes! My titleimage being a set length expands beyond the page width when being viewed outside of the of the image size width, i.e. If the browser is resized, you can scroll beyond the page width due to the image being larger than the with of the browser. The question probably has a simple answer, but I cannot find it Can you set the titleimage size to percentage of the page, similar to the stylevar, titleimage_padding. but to the page width?
Basically what I am trying to achieve is to keep the image to a percentage of the page width. Alternatively is there another way I can achieve this by image resizing within VB, rather than chopping the image down or having no image at all as I would like to keep the image as full size as possible. I hope this all makes sense! |
#2
|
||||
|
||||
You can try using this css...
Code:
max-width: 100% |
#3
|
||||
|
||||
Thanks where should I add this text?
|
#4
|
||||
|
||||
add this to additional.css template.
.logo-image img {width: 100%; max-width: 100%} |
#5
|
||||
|
||||
Thanks I'll give it a try That worked great! Thank you very much! top support
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|