How to add class to the <a> element?

Forums Forums Menus How to add class to the <a> element?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1468
    framfield
    Member

    Hi everyone,

    I was working on the integration of Multi menu to the theme created with Artisteer. Managed to integrate it and added required classes to the core file that now works with rounded button from Artisteer.

    However there is one problem I can’t work out. In the Artisteer menu there is a class="active" added to the <a href…> element of the current item page which makes current page using different class. I can find out how to add this class to the <a …> in the core file. Actually, I tried and added it to all <a….> I found but it didn’t appear in the code. I would appreciate any advice how to do this. Thank.

    Here is that website: http://www.febs.priwi.sk[/url:1d5xcioh%5D

    #8606

    I think it would be a better idea to alter the theme.

    The standard WordPress class for the current page is .current_page_item, not .active.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.