Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: peps1 on January 28, 2015, 05:56:57 AM

Title: How to center the logo in SMF 2.0.9?
Post by: peps1 on January 28, 2015, 05:56:57 AM
Could someone tell me how to center the logo in SMF 2.0.9?
Title: Re: How to center the logo in SMF 2.0.9?
Post by: kat on January 28, 2015, 06:37:58 AM
Depends... Which logo? Which theme?
Title: Re: How to center the logo in SMF 2.0.9?
Post by: austin.bollinger on January 28, 2015, 06:41:13 AM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.the-hunting-dog.com%2Fwp-content%2Fuploads%2F2011%2F01%2FDog-GR.jpg&hash=dd05110cc9200fde64d1f364d591ada8b46c644d)
Title: Re: How to center the logo in SMF 2.0.9?
Post by: peps1 on January 28, 2015, 06:46:24 AM
Quote from: K@ on January 28, 2015, 06:37:58 AM
Depends... Which logo? Which theme?

Sorry, The default theme, and the logo you can set under Admin > Configuration > Current Theme > Logo image URL
Title: Re: How to center the logo in SMF 2.0.9?
Post by: austin.bollinger on January 28, 2015, 06:48:37 AM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.the-hunting-dog.com%2Fwp-content%2Fuploads%2F2011%2F01%2FDog-GR.jpg&hash=dd05110cc9200fde64d1f364d591ada8b46c644d)
Title: Re: How to center the logo in SMF 2.0.9?
Post by: kat on January 28, 2015, 06:51:45 AM
Heh... When I did that, I simply used a gif file, with a transparent background, so that I could alter it's position, by resizing the transparent part.

But, as Austin said, there are ways of doing it that could be regarded as being more techie. Plus, of course, those ways will cope with different screen resolutions a bit better.

I'm not terrific with css, I'm afraid. But, I know a few members that are and I'm sure they'll be along, soon, to help you out. :)
Title: Re: How to center the logo in SMF 2.0.9?
Post by: austin.bollinger on January 28, 2015, 06:59:15 AM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.the-hunting-dog.com%2Fwp-content%2Fuploads%2F2011%2F01%2FDog-GR.jpg&hash=dd05110cc9200fde64d1f364d591ada8b46c644d)
Title: Re: How to center the logo in SMF 2.0.9?
Post by: austin.bollinger on January 28, 2015, 07:04:52 AM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.the-hunting-dog.com%2Fwp-content%2Fuploads%2F2011%2F01%2FDog-GR.jpg&hash=dd05110cc9200fde64d1f364d591ada8b46c644d)
Title: Re: How to center the logo in SMF 2.0.9?
Post by: Arantor on January 28, 2015, 07:21:22 AM
Um... there's no such thing as float: center. You would simply remove the declaration entirely for that.
Title: Re: How to center the logo in SMF 2.0.9?
Post by: austin.bollinger on January 28, 2015, 07:23:50 AM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.the-hunting-dog.com%2Fwp-content%2Fuploads%2F2011%2F01%2FDog-GR.jpg&hash=dd05110cc9200fde64d1f364d591ada8b46c644d)
Title: Re: How to center the logo in SMF 2.0.9?
Post by: peps1 on January 28, 2015, 08:00:23 AM
Thank you, worked like a charm!  :D