WordPress.org

Ready to get started?Download WordPress

Forums

T&P Navigation Menu
Make the background black and 100% width of the page (3 posts)

  1. roseba
    Member
    Posted 10 months ago #

    Hi, I'm having a problem with this code. I can't seem to make the code extend the full length of the page. It starts right where the site title begins rather than extending the full length of the page.

    position': 'fixed', 'top':0

    .navbar{
            background-color: #000 !important;
            background-image:none !important;
    	position': 'fixed', 'top':0
    }

    If you can tell me how to solve this problem, or a better way to deal with it, I would be very grateful.

    Extra bonus. On the regular naivgiation, I have a red rule. On the sticky menu, I haven't figured out how to extend it without it showing in two places.

    #masthead-wrap{
    border-bottom: solid;
    border-color:#FF0000;
    border: width: 1px;
    }

    Thanks for putting this code together. Even though it is customized for TwentyThirteen, it seems to be the only plugin of this kind out there.

    http://wordpress.org/plugins/tp-navigation-menu/

  2. pey22
    Member
    Plugin Author

    Posted 10 months ago #

    Hello roseba
    please send me link to your site i need to see what you mean.

  3. roseba
    Member
    Posted 10 months ago #

    I disabled this and figured out how to do this with only css. I still have to adjust the margin padding.

    However, if you use this on any theme that isn't Twenty Thirteen, and you scroll down the page what you have is a page that is sort of like this.

    --------------------------------------------------
    
    with scroll nav like this
             -----------------------------------------

    You don't see it at first until you scroll down and you wouldn't see it in Twenty Thirteen. The parent theme that I was using was "Untitled" by Auttomatic. You might want to take a look. For a plugin author, you will probably able to fix it pretty quickly. Something about max-width being 100%.

Reply

You must log in to post.

About this Plugin

About this Topic