Support » Themes and Templates » CSS .current-page

  • Resolved sam walters

    (@sam-walters)


    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    In which theme?

    Appply Theme

    By WooThemes

    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

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS .current-page’ is closed to new replies.