WordPress.org

Ready to get started?Download WordPress

Forums

TwentyEleven - Customized Template Active Links Not "Activating" (4 posts)

  1. kremo5le
    Member
    Posted 2 years ago #

    Hello,

    I customized TwentyEleven for a client. Here's the link: http://dev.inspiredcreativebrief.com/. When you go to the "Book" page 2 links show up, Reviews and Download, these are just custom links I created as the client wanted them to show at all times; no drop down menu.

    My problem is that even though I added a class for the "a:active" link to be white, they stay black.

    Anyone know either why this is happening or a possible solution?

    Thanks,

    Emilio

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    do not edit Twenty Eleven directly, but create a child theme to work with:
    http://codex.wordpress.org/Child_Themes

    the pseudo class :active is only active just after a link is clicked until the next page appears;

    http://www.w3schools.com/css/css_link.asp

    you need to add a special css class to these links when you are on these pages.

  3. kremo5le
    Member
    Posted 2 years ago #

    Hey there,

    The theme is actually done 99.99%. I am not going to reverse engineered what was done already as you understand.

    That's correct. I am proficient on CSS and the pseudo class :active is there. I am actually using it like:

    li.my_id a:active {
    color: #fff;
    }

    Why would li.id a work but a:active doesn't?

  4. kremo5le
    Member
    Posted 2 years ago #

    And yes, I am using

      +
    • for the links! ;o)

Topic Closed

This topic has been closed to new replies.

About this Topic