The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Unable to Center Banner

View previous topic View next topic Go down

Solved Unable to Center Banner

Post by Grungie on October 26th 2012, 7:59 pm

So I'm trying to have my logo/banner centered, but it won't let me center it in the Admin CP. If I go to the Headers and Navigation section and click center. It'll just lower my banner slightly and not centered. Is there a way to have my banner centered in the top of the page, or does PunBB not allow that?

Here are some pictures of what I am talking about:

Default location of banner (logo positioning clicked on left)


What happens when I click logo positioning in the center:
avatar
Grungie
New Member

Male Posts : 21
Reputation : 0
Language : English

http://kingofgrungestrings.forumotion.com

Back to top Go down

Solved Re: Unable to Center Banner

Post by Tonight on October 26th 2012, 8:41 pm

Code:
    #logo {
      float: left;
      width: 100%;
      text-align: center;
    }

Should center the banner. Haven't tested blackeye
avatar
Tonight
Forumember

Male Posts : 258
Reputation : 69
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Solved Re: Unable to Center Banner

Post by Grungie on October 26th 2012, 10:05 pm

Nope, nothing happened.
avatar
Grungie
New Member

Male Posts : 21
Reputation : 0
Language : English

http://kingofgrungestrings.forumotion.com

Back to top Go down

Solved Re: Unable to Center Banner

Post by Tonight on October 26th 2012, 10:17 pm

Hmm, I tested now and for me it worked. But you don't have site name there and stuff, so guess that's the problem. Sorry, can't help then. Razz
avatar
Tonight
Forumember

Male Posts : 258
Reputation : 69
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Solved Re: Unable to Center Banner

Post by Grungie on October 26th 2012, 10:38 pm

I added the forum title and it just leaves it in that goofy spot like in the second picture I posted.
avatar
Grungie
New Member

Male Posts : 21
Reputation : 0
Language : English

http://kingofgrungestrings.forumotion.com

Back to top Go down

Solved Re: Unable to Center Banner

Post by Tonight on October 26th 2012, 11:10 pm

Put this to your CSS:
Code:
#logo {
   float: none;
   padding: 5px;
   }

And then try centering through ACP (Display -> Headers & Navigation -> Logo postitioning)
avatar
Tonight
Forumember

Male Posts : 258
Reputation : 69
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Solved Re: Unable to Center Banner

Post by Grungie on October 27th 2012, 5:05 am

Rideem3 wrote:Put this in your CSS StyleSheet:
Code:
#pun-logo {
    left: 50%;
    margin-left: -210px;
    margin-top: -15px;
    position: absolute;
}

Thanks, this is what worked.
avatar
Grungie
New Member

Male Posts : 21
Reputation : 0
Language : English

http://kingofgrungestrings.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum