WordPress.org

Forums

Virtue
[resolved] [closed] New icons on Primary menu (5 posts)

  1. PaolaWP
    Member
    Posted 1 year ago #

    Hi Guys!
    I've beeing trying to add my own icons to the primary menu of my virtue-theme website... I even tried to add another icon class to the CSS with my images but nothing worked!
    Is it possible to add icons other than the ones preset on the theme?
    Anyways, thanks for this theme, it is from far the best i've used yet!
    Paola

  2. Kadence Themes
    Member
    Theme Author

    Posted 1 year ago #

    Hey,
    If you have the image url you can create a special class that will show your image. For example if I add custom-icon-class to the menu then add this to your custom css box and you can use an image:

    .custom-icon-class:before {
    content: url('theimageurlgoeshere');
    }

    Kadence Themes

  3. PaolaWP
    Member
    Posted 1 year ago #

    Thanks you so much,
    I tried that kind-of code before but this was the right one!
    You'r the best!
    Paola

  4. maion
    Member
    Posted 4 weeks ago #

    Hi there!
    I am trying to add a personal image at my menu.

    I added the CSS Class: "pdf" (without quote) to my Menu.

    Then I went to Themes> Editor> style.css and added the code:

    .pdf:before {
    content: url('/wp-content/uploads/2015/04/fundo_gaivota.png');
    }

    But nothing happens, any clue? I am brand new to all this...
    (by the way, don't know if matters, but I am using Virtue Premium)

    Maion

  5. Andrew
    Nuh uh moderator
    Posted 4 weeks ago #

    You don't want to be editing the theme's files for this, Kadence reference a "Custom CSS" box that should be in your dashboard with this theme. Could you open a new thread if you need more support https://wordpress.org/support/theme/virtue#postform

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic