What code would you use if you just wanted to center the logo without stretching it?
Announcement
Collapse
No announcement yet.
Vbulletin 6 header
Collapse
X
-
Code:#header .site-logo img { margin: 0 auto; display: block; }
My Amazon Affiliate Link
Fast vBulletin VPS Host:
This site is hosted by IONOS
- Top
- Translate
- Bottom
Comment
-
I am still looking into this. Do you think it is this setting resizing it? I found this in attachment options?Originally posted by glennrocksvb View PostThen I think the system is resizing the uploaded image based on the configured maximum size in the Attachment Manager in AdminCP.
If you want, you can stretch the image to force it to fill the full-width by adding this additional CSS:
Code:#header .site-logo img { width: 100%; }
I also was looking at this
- Top
- Translate
- Bottom
Comment
-
That GD option is for quality and not dimensions.
To avoid the uploaded logo image to be resized, simply upload the file directly to the server preferably in the "images" folder. Then go to Style Variable Editor (for each active Style/Theme you're using) in AdminCP and then edit the "titleimage" variable and set the image URL to the path of the uploaded logo in the images folder.
My Amazon Affiliate Link
Fast vBulletin VPS Host:
This site is hosted by IONOS
- Top
- Translate
- Bottom
Comment
Latest Posts
Collapse
-
by ChunkHello!
My name is Chunk (nickname). Im current graduated from my local college for Web Development. Today I will be exploring vBulletin...07-11-2026, 06:08 AM -
by PitmanLol... Like I said, I am Shon.
I am I user and administrator of vBulletin since 2002 (good old days) and I joined here because I recently...07-08-2026, 02:29 PM

Comment