+ Post New Thread
Results 1 to 4 of 4
EduGeek Joomla 1.5 Package Thread, What have I done?? in Projects:; Hi, Hopefully someone can help. My site shifts several pixels to the right when selecting certain top menu items. I'm ...
  1. #1

    Join Date
    Jan 2010
    Posts
    179
    Thank Post
    25
    Thanked 3 Times in 2 Posts
    Rep Power
    10

    What have I done??

    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.

  2. #2

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,731
    Thank Post
    344
    Thanked 520 Times in 488 Posts
    Rep Power
    180
    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

    Code:
    html 
    {
    overflow-y: scroll;
    }
    style.

    Steve

  3. Thanks to Steve21 from:

    nickjelly (6th July 2011)

  4. #3

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131
    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.

  5. Thanks to beeswax from:

    nickjelly (6th July 2011)

  6. #4

    Join Date
    Jan 2010
    Posts
    179
    Thank Post
    25
    Thanked 3 Times in 2 Posts
    Rep Power
    10
    D'oh. So simple! Thank you both. That's saved me a whole lot of time and digging.

SHARE:
+ Post New Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •