Skip to main content
Topic: 1.0.5 logo too wide, not centered anymore (Read 2132 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

1.0.5 logo too wide, not centered anymore

If you use a centered image as a logo and the image's width is more then... let's say 600 pixel, but I'm not sure... the logo isn't centered anymore. It wanders to the right.

Re: 1.0.5 logo too wide, not centered anymore

Reply #1
Can I see an example? >.<
~ SimplePortal Support Team ~

Re: 1.0.5 logo too wide, not centered anymore

Reply #2
Dunno.
I'm not really sure how to fix it.
The various alignments were added mostly as a example, rather than a fully-fledged system to style the header, and as such it was not really thought to be strong... furthermore, I was the one coding them. xD
Bugs creator.
Features destroyer.
Template killer.

Re: 1.0.5 logo too wide, not centered anymore

Reply #3
Shouldn't be hard css-wise, but I need to see it, and I cannot set up an elkarte forum just to test this ._.
~ SimplePortal Support Team ~

Re: 1.0.5 logo too wide, not centered anymore

Reply #4
I have a test forum. It's from a test migration, but I think that's no problem. I will update the logo to a large one and post the URL here tomorrow.

Re: 1.0.5 logo too wide, not centered anymore

Reply #5
You can see what happens when you open this site:

http://support.elkarte-hilfe.de/

...and change the width of your browser. The logo wanders to the right when the windows gets smaller.

Re: 1.0.5 logo too wide, not centered anymore

Reply #6
Code: [Select]
#logobox, .rightheader #logobox {
float: right;
padding: 0 12px 0 12px;
max-width: 40%;
}
try removing the max-width.
Bugs creator.
Features destroyer.
Template killer.

Re: 1.0.5 logo too wide, not centered anymore

Reply #7
Yep, that's it.  :)

Re: 1.0.5 logo too wide, not centered anymore

Reply #8
@emanuele should this still be in bug reports, get tracked or else?
~ SimplePortal Support Team ~

Re: 1.0.5 logo too wide, not centered anymore

Reply #9
Did this get tracked?  Is it a bug? Why is my beer gone?
Be safe, Be kind, Happy Programing