+ 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
    63
    Thank Post
    9
    Thanked 1 Time in 1 Post
    Rep Power
    0

    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. IDG Tech News

  3. #2

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    1,415
    Thank Post
    175
    Thanked 224 Times in 210 Posts
    Rep Power
    112
    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

  4. Thanks to Steve21 from:

    nickjelly (6th July 2011)

  5. #3
    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,276
    Thank Post
    262
    Thanked 217 Times in 147 Posts
    Rep Power
    102
    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.

  6. Thanks to beeswax from:

    nickjelly (6th July 2011)

  7. #4

    Join Date
    Jan 2010
    Posts
    63
    Thank Post
    9
    Thanked 1 Time in 1 Post
    Rep Power
    0
    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
  •