• Anonymous User 1954590

    (@anonymized-1954590)


    Hello,

    I customized TwentyEleven for a client. Here’s the link: https://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)
  • do not edit Twenty Eleven directly, but create a child theme to work with:
    https://codex.www.ads-software.com/Child_Themes

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

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

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

    Thread Starter Anonymous User 1954590

    (@anonymized-1954590)

    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?

    Thread Starter Anonymous User 1954590

    (@anonymized-1954590)

    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.