Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #6937

    Hello,

    Thank you for an awesome theme! I love it so much and it is so customizable I don’t think I will ever need another :)

    I am having problem with styling a menu item.

    I have put in my header code this:

    <?php if (is_user_logged_in() ): ?>

    <?php
    /*
    * display the main navigation menu
    * modify the output in your wordpress admin backend at appearance->menus
    */
    $args = array('theme_location'=>'avia2', 'fallback_cb' => '', 'max_columns'=>4);
    wp_nav_menu($args);
    ?>
    <?php else: ?>
    <ul id="menu-sub-menu" class="avia_mega"><li class="megaWrapper"><a href="http://webbusinesstactics.com/wp-login.php" title="Login">Member Login</a></li></ul>
    <?php endif ?>

    I am having a really hard time styling the Member Login link like the rest of the menu – I do not know which ID or Class to assign to it.

    Thanks!

    Rich

    #55960

    Hi,

    could you link us to your site? This way we’re sure what you mean so can provide specific instructions.

    #55961

    Hey Chris,

    It’s at http://webbusinesstactics.com/ – The login link is in the top menu.

    Thanks!

    #55962

    Hey,

    you can style the submenu item color, background, hover effect, etc. with following code in css/custom.css:

    .submenu{
    background: #222 url(../images/shared/grain.png) repeat 0 0;
    border-bottom:7px solid #f1f1f1;
    }

    .submenu a{
    color:#aaa;
    }

    .submenu a:hover, .submenu .current-menu-item a{
    color:#fff;
    background: transparent url(../images/skin-minimal/arrow-up.png) no-repeat bottom center;
    outline:none;
    }

    #55963

    Dude thanks,

    My question is this:

    <ul id=”WHATGOESHERE” class=”WHATGOESHERE”><li class=”WHATGOESHERE”>Member Login

    To make my link look the top menu links in Shoutbox. The style is in the CSS already, I need to assign it. I tried using Firebug and attempted a few options but :(

    Can you replicate what my HTML would look like, not CSS?

    Rich.

    #55964

    Got it thanks.

    #55965

    Good to see you’ve got it to work :)

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

The topic ‘Main Navigation Menu CSS’ is closed to new replies.