Nav problems in FireFox

Community Forums Forums Design Tips and Tricks Nav problems in FireFox

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  David Chu 1 year, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #40442

    phsims
    Participant

    I am creating a custom theme for a client and running into issues with FF.

    I have no clue why but removing the Nav bar breaks the theme in firefox.

    http://trustedlocalsuppliers.demosite.me.uk/supplier-performance-charter/ is the default template and works fine

    http://trustedlocalsuppliers.demosite.me.uk/ uses an alternate page template and using

    remove_action(‘genesis_after_header’, ‘genesis_do_nav’);

    or display: none; to remove the nav shifts the content area to the side.

    Anyone have any clue why?

     

    Thanks in advance :)

    http://trustedlocalsuppliers.demosite.me.uk/
    #40464

    David Chu
    Participant
    Post count: 1355

    Hi,
    You seem to have some open paragraph tags, you can validate your HTML to check that.

    But the main problem is here. “float: left;” is messing it up. The reason you’re getting away with it on the NAV page is that that DIV is being cleared, so the float in the header is nullified.

    [css]
    #header {
    float: left;
    height: 44px;
    position: relative;
    width: 100%;
    z-index: 1000;
    }
    [/css]

    Cheers, Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.