New Landing How can we help? Themeforest Theme Support Dante Make one word in main nav a different color text

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Dante
  • #128821
    fmora617
    Member
    Post count: 105

    Hi – I would like to have one of my menu itemS in my main nav be a different color. For example, make the contact a different color text than the other menu items –> http://i.imgur.com/DzykA3E.png

    This is happening on http://golfrite.com.

    Thanks!
    Fabian

    #128837
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Add this to your custom css:

    nav#main-navigation .menu li.menu-item:last-child > a {
      color: #111;
    }

    – Kyle

    #129044
    fmora617
    Member
    Post count: 105

    Hi –

    I added some additional CSS to the CSS you provided for the last item on the main nav as I wanted.

    nav#main-navigation .menu li.menu-item:last-child > a {
    color: #00d5ff;
    font-style: italic;
    font-weight: bold;
    text-shadow: 0 2px 1px rgba(0,0,0,0.5);
    }

    However, the CSS then affected the last item in my sub menu. See here –> http://i.imgur.com/dK0lbbw.png

    Any idea how to have the CSS provided not affect the sub menu item/CSS?

    Thanks,
    Fabian

    #129059
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try this instead:

    nav#main-navigation .menu > li.menu-item:last-child > a {
      color: #00d5ff;
      font-style: italic;
      font-weight: bold;
      text-shadow: 0 2px 1px rgba(0, 0, 0, 0.5);
    }

    – Kyle

    #129258
    fmora617
    Member
    Post count: 105

    Worked great! Thanks Kyle for all your awesome support!

    Fabian

    #129260
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem. Thanks Kyle
    -Rui

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register