Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Hi Mike,

    I probably don’t get what you are saying since I am very much a noob in these things, but I am not trying to highlight menu items. I want to highlight an active HTML anchor, as described on the W3 schools website for example. When I use their ‘Try it yourself’ it does exactly what I want to achieve :) If it is indeed better that I use the current-menu-item class, can you please explain to me how I can achieve the same result? Now I simply added to the Quick CSS:
    .current-menu-item {
    background-color: #ecfa73;
    }
    so I get why that id is always in the background color, but I don’t know how to change that

    I created two examples on one of my pages. The one called ‘Link 1’ is always in the CSS class color, which I do not want. The one called ‘Link 2’ only is highlighted when you enter the full address on the address bar with /#test2 added. Not when you click ‘this goes to link 2’

    Regards,
    Albert

Viewing 1 post (of 1 total)