MyBB Community Forums

Full Version: CSS Image Centering
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,
My forum is www.movieflump.com
I have put up a banner for my new site, but how do I center align it?
Thanks for any help and sorry if this is the wrong section
Big Grin
HELLO :|
Add this to the logo class in global.css
text-align: center;
Thanks
What if they want the text left justified but only the logo or banner centered?
Not really sure what you're getting at. Usually the only thing the .logo class covers is the logo, it doesn't affect any text.
Says TEXT align. Doing this also centers the text under the banner or logo. What if you want the text left justified but the image banner itself centered?
Then use a different CSS class for the text. Most themes already do that.
(2010-08-18, 08:02 PM)AJS Wrote: [ -> ]Then use a different CSS class for the text. Most themes already do that.

How?
It depends on how the theme is set up, if changing the .logo class is changing the text it's not set the same set up the same as the majority of themes. Can we have a link to your forum? Smile
(2010-08-19, 05:17 PM)AJS Wrote: [ -> ]It depends on how the theme is set up, if changing the .logo class is changing the text it's not set the same set up the same as the majority of themes. Can we have a link to your forum? Smile

http://www.tpb3d.net
Pages: 1 2