Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Feature Discussion > Banner wont center on the page.
Zweet Bloodeye (New Admin) 1/26/2011 1:56 PM EST : Banner wont center on the page.
Zweet Bloodeye
Posts: 201
Fingers of Fury!

On our site http://demonshield.guildportal.com the banner wont center on the page. It keeps sitting off to the right by about 10 %.

Have re uploaded it, gone through every centering tick box and border or padding option I can find saving, changing and saving again and it is still doing it.

Is this some kind of bug?
TopBottom

Ansu (New Admin) 1/26/2011 2:10 PM EST : RE: Banner wont center on the page.
Ansu
Posts: 783
Zomgawsh Poster

You've got a setting on your banner somewhere which is adding 50 pixel margin on the left.

Try using the following CSS:

img.guildbanner { margin: 0px; )
TopBottom

Zweet Bloodeye (New Admin) 1/26/2011 5:40 PM EST : RE: Banner wont center on the page.
Zweet Bloodeye
Posts: 201
Fingers of Fury!

That didn't work.

tried entering it into the full custom css and it screwed up the style for the whole site. (moment of panic). So i tried using the tool to insert elements and it put in

.BannerArea {  border-left: 0px solid black; }


That centered the banner but left the rest if the site style still screwed up.

Tried putting that into the 'CSS additions to standard'  instead. That put the rest of the CSS back for the rest of the site (panic over), but the image was back off to the right again. 
TopBottom

Zweet Bloodeye (New Admin) 1/26/2011 6:19 PM EST : RE: Banner wont center on the page.
Zweet Bloodeye
Posts: 201
Fingers of Fury!

Fixed it. (well probably bodged it, but it works so I am happy)

Found this tool to show me what was going on.

http://www.guildportal.com/Guild.aspx?GuildID=258012&TabID=2168224&ForumID=1862051&TopicID=8833031

It did not show the 50 pixel left margin but it did show me that putting stuff in the 'CSS Additions to standard' was doing something.

So I added a left margin of -50 to compensate for the +50 coming form 'somewhere' and it worked:

.BannerArea {  margin-left: -50px;   margin-bottom: -10px;    margin-top: -9px;}

Put int a top and bottom minus value while I was it it as a little tweak.


Thanks for the help though. It gave me something else to try playing around with.
TopBottom

Everdark (MVP) 1/26/2011 6:26 PM EST : RE: Banner wont center on the page.
GuildPortal MVP
Everdark
Posts: 3950
Zomgawsh Poster

I don't know if you figured out the issue or not, though it centers fine when I viewed it under IE and Firefox. Are you using a different type of browser that it shows up off center on?

EDIT: LOL! Nevermind, I typed this out as you were responding.

Although I did notice this while looking at your CSS with Firefly:

.BannerArea {
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: center;
}
img.GuildBanner {
    margin-left: 50px;
}


under -  http://www.guildportal.com/UI/GpCss.ashx?stylesheet=Guild386904_4287.css

When I read your response on how you had to negate those values, I thought I'd post this info. And maybe if it's something on GP's side, maybe they could correct it.

"The person who says it cannot be done should not interrupt the person doing it." 

 
Everdark (T), Evadarr, Nevinn (AC), Soninn, Croninn, Zakarr, Avirded (SC)
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%