ElkArte Community

Elk Development => Bug Reports => Topic started by: Jorin on December 22, 2015, 01:35:13 am

Title: 1.0.5 logo too wide, not centered anymore
Post by: Jorin on December 22, 2015, 01:35:13 am
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.
Title: Re: 1.0.5 logo too wide, not centered anymore
Post by: Flavio93Zena on December 24, 2015, 12:33:16 pm
Can I see an example? >.<
Title: Re: 1.0.5 logo too wide, not centered anymore
Post by: emanuele on December 24, 2015, 04:35:32 pm
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
Title: Re: 1.0.5 logo too wide, not centered anymore
Post by: Flavio93Zena on December 25, 2015, 09:54:02 am
Shouldn't be hard css-wise, but I need to see it, and I cannot set up an elkarte forum just to test this ._.
Title: Re: 1.0.5 logo too wide, not centered anymore
Post by: Jorin on January 05, 2016, 01:15:33 am
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.
Title: Re: 1.0.5 logo too wide, not centered anymore
Post by: Jorin on January 05, 2016, 04:32:00 am
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.
Title: Re: 1.0.5 logo too wide, not centered anymore
Post by: emanuele on January 05, 2016, 04:44:52 pm
Code: [Select]
#logobox, .rightheader #logobox {
float: right;
padding: 0 12px 0 12px;
max-width: 40%;
}
try removing the max-width.
Title: Re: 1.0.5 logo too wide, not centered anymore
Post by: Jorin on January 06, 2016, 07:36:30 am
Yep, that's it.  :)
Title: Re: 1.0.5 logo too wide, not centered anymore
Post by: Flavio93Zena on January 11, 2016, 09:01:59 pm
@emanuele should this still be in bug reports, get tracked or else?
Title: Re: 1.0.5 logo too wide, not centered anymore
Post by: Spuds on January 21, 2016, 01:34:36 pm
Did this get tracked?  Is it a bug? Why is my beer gone?