Centering the widgets in the portal

Go down

Solved Centering the widgets in the portal

Post by TerryAhn on July 12th 2011, 5:55 pm

My forum is www.lolaustralia.com

as you can see on the front page, things are not well aligned. All I want to do is center everything, so the news would be in the middle. How would I do this?

TerryAhn
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

Solved Re: Centering the widgets in the portal

Post by Base on July 12th 2011, 6:06 pm

Hi, please try adding this to your CSS code:

Code:
.portal {
    margin-left: -185px;
}
avatar
Base
Forumaster

Male Posts : 10386
Reputation : 1693
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: Centering the widgets in the portal

Post by TerryAhn on July 12th 2011, 6:10 pm

@Base wrote:Hi, please try adding this to your CSS code:

Code:
.portal {
    margin-left: -185px;
}

It doesn't seem to work. I think somewhere in the CSS, it's coded differently.


TerryAhn
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

Solved Re: Centering the widgets in the portal

Post by Base on July 12th 2011, 6:11 pm

Really? After you've added it, everything looks centralised to me. What browser are you using?
avatar
Base
Forumaster

Male Posts : 10386
Reputation : 1693
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: Centering the widgets in the portal

Post by TerryAhn on July 12th 2011, 6:12 pm

Sorry for double posting! but what you gave me worked. I just had to put it somewhere different. I scrolled all the way down and found a place to put css for the portal page.

Only one question. What's the different between setting it by pixels and setting it on auto?

TerryAhn
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

Solved Re: Centering the widgets in the portal

Post by Base on July 12th 2011, 6:14 pm

You didn't double post, I managed to post before you did. Razz

Erm... that I'm not so sure of but setting it by pixels gives you full control I guess because you can choose whichever amount of pixels you want. Is this problem solved? Smile
avatar
Base
Forumaster

Male Posts : 10386
Reputation : 1693
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: Centering the widgets in the portal

Post by TerryAhn on July 12th 2011, 6:21 pm

Yes it is, thank you very much

TerryAhn
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

Solved Re: Centering the widgets in the portal

Post by Base on July 12th 2011, 6:23 pm

You're welcome, glad I could help. Very Happy

Solved => Locked
avatar
Base
Forumaster

Male Posts : 10386
Reputation : 1693
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Back to top


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