WordPress.org

Ready to get started?Download WordPress

Forums

School History (11 posts)

  1. mystifier
    Member
    Posted 6 years ago #

    This is my latest of a number of WordPress sites with over 300 pictures.

    There were a few tweaks to make the categories work as I wanted... I wish I could add a password protected category (Old Boys Association) and feature Member database but I haven't been able to find any plug-ins to even start from.

  2. mb168
    Member
    Posted 6 years ago #

    I'm new to WP so I don't know that I'm the one to point out things specific to WP, but as far as the site goes, I don't like the way the hover works on the top nav bouncing the rest of the page up and down. Just a little weird to me. I like the site otherwise, my eye treats it as a 2 col when it really is a 3 col layout.

  3. Roy
    Member
    Posted 6 years ago #

  4. mystifier
    Member
    Posted 6 years ago #

    I don't quite understand the point about the hover bouncing the page?! I don't see any funny effect. I must admit, I have only looked at it in IE7.

    I just discovered BBPress so have added a forum which was pretty painless.

  5. mb168
    Member
    Posted 6 years ago #

    Ah, I was using FF on a PC at the time but using safari on a mac now and it's not doing it. In FF when you hover the blue top nav bars, the rest of the site bounces down some, I believe it was creating a space between the bottom of the buttons and that black line so as you moved off and on the buttons, the site below bounced up and down. I don't have access to my pc right now, maybe someone else with FF can verify the same.

  6. mb168
    Member
    Posted 6 years ago #

    Yes, in FF, when you hover the nav bar, everything on the page from the thin black line down shifts by several pixels away from the nav bar.

  7. vavroom
    Member
    Posted 6 years ago #

    adding a bit of padding to those elements when the anchors does not have focus should fix it. What's happening is that the border-bottom gets added and makes the site jump.

  8. mystifier
    Member
    Posted 6 years ago #

    Okay, I added:
    <div align=center style="padding: 0px 0px 0px 0px">

    I am not sure if this has had the desired effect. I know I should probably look at it in lots of different browsers and mess around until it looks right in all of them but I just can't be bothered!

    IE6/IE7 accounts for the vast majority of visits.

  9. vavroom
    Member
    Posted 6 years ago #

    mystifier, I wasn't suggesting adding a new div and padding for it. I was suggesting adding padding to your anchor element (the links themselves). right now, if you hover over the link, there's a 1px border that pops out, which is what pushes everything away. So if you set a 1px padding on the a, and then a 0 on the a:hover, you'll basically eliminate the jumps.

    FWIW, when you have 0, it is not necessary to declare the measurement unit. Also, when you have all measurements the same, you do not need to repeat them. Finally, if you're going to declare styling inline, might as well use CSS all the way ;) So your
    <div align=center style="padding: 0px 0px 0px 0px">
    Could have been written:
    <div style="padding:0;text-align:center;>

    As for testing, it is indeed usualy a good idea to test in several browsers. While IE6/7 accounts for a large segment of traffic, my stats show about 35% of traffic on non-IE browsers... Over a third of all visitors are not using IE... Your choice ;)

    HTH

  10. mystifier
    Member
    Posted 6 years ago #

    Thanks vavroom, I wasn't even aware that padding applied to anchors; I thought it was only for display containers such as <tables> and <div>. I am still not entirely clear but I may have a tinker.

    I must admit, I only know the vagueries of html/css. I am only really interested in making the content available. The fact that it looks and behaves differently in different browsers is just an irritation that I can't really be bothered with - I am not web-designer... that's why I use wordpress to save me having to be ;-)

  11. mystifier
    Member
    Posted 6 years ago #

    Okay. I got rid of the buttons completely and use

    • menus defined in css.

      Hopefully, it doesn't now jump all over the place if you are not using a 'proper' browser :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.