WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] CSS .current-page (5 posts)

  1. sam walters
    Member
    Posted 7 months ago #

    Hi i have tried to add this to my css and for the life of me i can not get it to work:

    ul.nav li.current_page_item a,
    ul.nav li.current_page_parent a,
    ul.nav li.current_page_ancestor a,
    ul.nav li.current-page-ancestor a,
    ul.nav li.current-cat a,
    #menu-item-type-custom a,
    ul.nav li.li.current-menu-item a {
    border-style: solid;
    border-width: 2px;
    border-color: #ffffff;
    }

    if i add background colour then it works but this just wont :/ here is the site i am working on atm

    any help would be great thanks,

    Sam

  2. Andrew
    Forum Moderator
    Posted 7 months ago #

    In which theme?

  3. sam walters
    Member
    Posted 7 months ago #

    Appply Theme

    By WooThemes

  4. sam walters
    Member
    Posted 7 months ago #

    Hi i have managed to solve this issue with this code

    ul.nav li.current-page-item a,
    ul.nav li.current-page-parent a,
    ul.nav li.current-page-ancestor a,
    ul.nav li.li.curre-t-menu-item a
    {
    border-style: solid !important;
    border-width: 2px !important;
    border-color: #ffffff !important;
    }

    Thanks

  5. sam walters
    Member
    Posted 7 months ago #

    you can take out this code from the above ul.nav li.li.curre-t-menu-item a it has no relevance to the css

Reply

You must log in to post.

About this Topic