Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #754020

    patlordy
    Participant

    Hi!

    I have given a class to a menu item throught the wordpress menu class option.

    My class is ”articles”.

    Now, when I try to modify this menu item in the css panel using .articles {…} nothing happen.

    Is there anything specific that must be done?

    Thank you very much!

    #754083

    John Ezra
    Member

    Hi there,

    Thanks for writing in! There might be something conflicting. Would you mind pointing out which elements is affected by that class and where it can be found. Also, please provide us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #754119

    patlordy
    Participant
    This reply has been marked as private.
    #754318

    Rupok
    Member

    Hi there,

    Thanks for writing back. I can see the class was added to the menu item correctly. Note the class will be added to the list item. If you want to style the menu item then you need to select the anchor (link) with that selector like below –

    .x-navbar .articles a {
      color: #f54;
      font-size: 18px;
    }

    So you can add your CSS like this under Custom > CSS in the Customizer.

    Hope this helps.

    Cheers!

    #754873

    patlordy
    Participant

    Thank you very much this works!

    #754970

    Thai
    Moderator

    Glad it worked 🙂

    If you need anything else, please let us know.