• I publish http://www.cinemahaven.com if you take a quick peek you will see my home button has its own menu line and then my pages start at the line beneath it..I’d like to have it all on one line but I don’t want to risk butchering my homepage so i’m asking for help below is my code for the menu section on my header.php please help me get this straight. Have put in so many hours to making the site don’t want to lose it all on a simple mistake. Thanks

    <li <?php if (is_home()) { echo ‘class=””‘; } ?>>/” title=”Home”>Home

    </div> <!– navigation-left –>
    <ul class=”sf-menu sf-menu-right”>
    <?php wp_list_pages(‘title_li=’); ?>
    <li class=”subscribe”>” title=”Subscribe”>Subscribe

Viewing 4 replies - 1 through 4 (of 4 total)
  • In your theme’s header.php change

    <li <?php if (is_home()) { echo 'class=""'; } ?>>/" title="Home">Home
    </div> <!-- navigation-left -->
    <ul class="sf-menu sf-menu-right">
    <?php wp_list_pages('title_li='); ?>
    <li class="subscribe">" title="Subscribe">Subscribe

    to

    <li <?php if (is_home()) { echo 'class=""'; } ?>>/" title="Home">Home</li>
    <?php wp_list_pages('title_li='); ?>
    <li class="subscribe">" title="Subscribe">Subscribe</li>
    </div> <!-- navigation-left -->

    and in your theme’s style.css file change

    #navigation-left {
    float:left;
    width:720px;
    }

    to

    #navigation-left {
    float:left;
    /*width:720px;*/
    }

    and change

    .sf-menu li {
    background: url(images/menu-li-bg.jpg) top right no-repeat;
    float: left;
    padding: 10px 25px 12px 15px;
    position: relative;
    }

    to

    .sf-menu li {
    background: url(images/menu-li-bg.jpg) top right no-repeat;
    float: left;
    position: relative;
    padding: 12px;
    }

    Thread Starter sozemediagroup

    (@sozemediagroup)

    Thanks i’ll try that out

    Thread Starter sozemediagroup

    (@sozemediagroup)

    Didn’t work here is what I ended up with
    click here for screen shot

    Thread Starter sozemediagroup

    (@sozemediagroup)

    bump

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘menu alignment issues’ is closed to new replies.