WordPress.org

Support

Support » Themes and Templates » TwentyEleven – Customized Template Active Links Not "Activating"

TwentyEleven – Customized Template Active Links Not "Activating"

  • 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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Michael

    @alchymyth

    Forum Moderator

    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.

    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?

    And yes, I am using

      +

    • for the links! ;o)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘TwentyEleven – Customized Template Active Links Not "Activating"’ is closed to new replies.