WordPress.org

Forums

raindrops
[resolved] Main menu and child sub-menu (5 posts)

  1. hurra03
    Member
    Posted 1 year ago #

    Hi - My website is alteregovoices.com

    I have a menu option "Biography".

    What I really want is for this option to be clickable so as to display the sub-menu, but not to have to display a page.

    Also, I would like it to be highlighted as a drop-down mwnu with an arrow.

    I got this code from elsewhere, but not sure where to put it:

    .nav-menu li > a:after {
    color: #888;
    content: ' ▾';
    }

    .nav-menu li > a:hover:after {
    color: #444;
    content: ' ▾';
    }

    .nav-menu li > a:only-child:after {
    content: '';
    }

    or if the code is correct for raindrops.

    Any help is always appreciated!

  2. nobita
    Member
    Theme Author

    Posted 1 year ago #

    Please try

    .menu-item-has-children a:after{
       content: ' ▾';
        color:#fff;
    }

    Thank you.

  3. hurra03
    Member
    Posted 1 year ago #

    Thanks Nobita. I tried it in my child style-sheet, but it didn't appear...

  4. nobita
    Member
    Theme Author

    Posted 1 year ago #

    maybe CSS conflict issue

    See http://specificity.keegan.st/

    please try

    #access .menu-item-has-children a:after{
       content: ' ▾';
        color:#fff;
    }
  5. hurra03
    Member
    Posted 1 year ago #

    It looks like it must be.

    I tried this and it still doesn't work.

    You can close it out thanks.....not sure it's solvable.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic