Jump to content

Recommended Posts

Posted

Hi,

 

Hopefully someone can help. My site shifts several pixels to the right when selecting certain top menu items.

 

I'm pretty sure it's something I've tweaked in the css (this site has had much tweaking) but where to start I do not know. I'm not getting obvious clues from Firebug.

 

The site in devlopment is here: Welcome to SMRT

 

And the offending menu items, if I can call them that, are Whats' Happening and Faith.

 

Thanks all.

Posted

Looks to me simply that some pages have scrollbar, others don't. Scroll bar reduces page size a bit, and thus "centering" moves. Take a look and you'll see what I mean :p

 

Those with long bar look "normal", those without move "left" as such.

 

If that's what you're referring to, a simple workaround is to always make scrollbar show, even when it's not needed

 

html 
{
overflow-y: scroll;
}

 

style.

 

Steve

  • Thanks 1
Posted
Does this happen in all browsers or is it just FF? If it's just FF then it may be the scrollbars. FF only shows a scrollbar if there's content to scroll, and that's what makes your page shift. Try inserting "html {overflow-y: scroll;}" into your template.css file, but remove the quotes.
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...