The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Centering the widgets in the portal

2 posters

Go down

Solved Centering the widgets in the portal

Post by TerryAhn 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?
avatar
TerryAhn
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

Solved Re: Centering the widgets in the portal

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

Hi, please try adding this to your CSS code:

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

Male Posts : 10386
Reputation : 1695
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 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.

avatar
TerryAhn
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

Solved Re: Centering the widgets in the portal

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

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

Male Posts : 10386
Reputation : 1695
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 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?
avatar
TerryAhn
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

Solved Re: Centering the widgets in the portal

Post by Base 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
Base
Base
Forumaster

Male Posts : 10386
Reputation : 1695
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 July 12th 2011, 6:21 pm

Yes it is, thank you very much
avatar
TerryAhn
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

Solved Re: Centering the widgets in the portal

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

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

Solved => Locked
Base
Base
Forumaster

Male Posts : 10386
Reputation : 1695
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