Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: D.Rich99 - heinäkuu 30, 2019, 02:12:13 IP

Otsikko: How to center the logo?
Kirjoitti: D.Rich99 - heinäkuu 30, 2019, 02:12:13 IP
How do I center the logo? (I tried searching both here and on google, but I couldn't find the answer).

Thank you.
Otsikko: Re: How to center the logo?
Kirjoitti: Bigguy - heinäkuu 30, 2019, 02:26:26 IP
I found a few for you:

https://www.google.com/search?q=center+the+logo&domains=simplemachines.org&sitesearch=simplemachines.org
Otsikko: Re: How to center the logo?
Kirjoitti: Sir Osis of Liver - heinäkuu 30, 2019, 04:09:43 IP
Depending on the theme (link to forum would help), you may have to wrap it in a 100% wide div and center it with text-align.  For reasons unknown, margin: auto; never works.
Otsikko: Re: How to center the logo?
Kirjoitti: Antechinus - heinäkuu 30, 2019, 06:50:52 IP
Auto margin will work if you use the right CSS with it. Won't work if the default CSS floats the logo and you don't do anything about that.