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.

Portal news box stretches further right

View previous topic View next topic Go down

Portal news box stretches further right

Post by TerryAhn on May 14th 2011, 11:49 am

this is my forum

www.lolaustralia.com

when you see the portal, you can see news box on the right side, but for some reason it pokes out further to the right then the left.

why is this! please help. I put nice smiley for u! :wouhou:


Last edited by TerryAhn on May 14th 2011, 1:04 pm; edited 1 time in total

TerryAhn
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

Re: Portal news box stretches further right

Post by Base on May 14th 2011, 12:39 pm

Hello, your title (HELLOOO) is not specific and therefore does not facilitate research via the search option. I am not answering (nor is any other member) until you change your title to a more specific title related to your problem.

We ask you to use explicit titles because:
The forum's search engine bases its research on keywords found in topic titles.

When you do a research, do you use "help", "urgent", "problem", "SOS" or "question" as keywords to look for topics about your problem/question?

Certainly not! So this is why it is important to use titles related to your problem/question. Doing this makes the researches much easier for visitors who use the search engine to get an answer to their question.

Thanks for your understanding.

Cordially
Forumotion Staff
Base

Base
Forumaster

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

http://forumotionhub.net

Back to top Go down

Re: Portal news box stretches further right

Post by TerryAhn on May 14th 2011, 1:04 pm

Sorry, changed title.

I think this may have to do with css, should I post it here?

TerryAhn
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

Re: Portal news box stretches further right

Post by Nera. on May 14th 2011, 2:02 pm

Try adding this to your CSS.
Replace XY with your number.

Code:
.portal {
    margin-left: -XYpx;
}

That is if I understood you right, you want the center the portal page.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Re: Portal news box stretches further right

Post by TerryAhn on May 14th 2011, 2:19 pm

Yes i want to center the portal page. What is the number i should replace x and y with?

TerryAhn
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

Re: Portal news box stretches further right

Post by Nera. on May 14th 2011, 2:29 pm

Try -60px.
First search in your CSS do you already have the rule wit margin-left: auto; If you have it replace it with

Code:
.portal {
    margin-left: -60px;
}
If you don't have it just add this and it should work.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Re: Portal news box stretches further right

Post by TerryAhn on May 14th 2011, 2:34 pm

Hmm it doesn't work Sad

I've added another widget to the portal so you can see better what I mean.

The new's is on the left side, recent topics and links in the middle and the log in widget on the right.

But it doesn't get centered Sad

TerryAhn
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

Re: Portal news box stretches further right

Post by Nera. on May 14th 2011, 2:37 pm

You didn't remove the existing portal rule margin auto, that is why it doesn't work. You must remove that one.
Code:
.portal {
margin-left: auto;
}
And if you are planning on adding more widgets to the side the number must be heigher.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Re: Portal news box stretches further right

Post by TerryAhn on May 14th 2011, 2:39 pm

Ah ok I removed to log in widget and it centered perfectly Very Happy

But isn't pixels different on each screen. Like is it still centered on all moniters of different resolution?

TerryAhn
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

Re: Portal news box stretches further right

Post by Nera. on May 14th 2011, 2:44 pm

Than it should be auto. I would try adding widgets on both sides and leave it on auto center.
Can't please them all, like browsers, so screens.
FM bugs on smaller screen for me.

You could wait for someone else to take a look.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Re: Portal news box stretches further right

Post by TerryAhn on May 14th 2011, 2:53 pm

what would be the css code for auto centering the portal? O.o

TerryAhn
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

Re: Portal news box stretches further right

Post by Nera. on May 14th 2011, 2:57 pm

Code:
.portal {
    margin-left: auto;
}

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.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