• Resolved Stefan1980

    (@stefan1980)


    Guys,

    Need some help here πŸ˜‰ Have been searching for hours on how to get the icon next to the menu item title.

    See my site menu item “Producten & Diensten. There is enough space for it. See menu item next to it. Same but with sorter title. Setting (next to) while choosing the icon is already set.

    Thanks in advance!

    https://wordpress.org/plugins/menu-icons/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Stefan,

    In your theme’s style.css, find this block:

    #access a span {
        display: block;
        padding: 17px 18px;
        text-transform: uppercase;
    }

    and replace it with (notice the greater than symbol):

    #access a > span {
        display: block;
        padding: 17px 18px;
        text-transform: uppercase;
    }

    When it’s done, you should see something like this: https://cldup.com/EuBJNzjRG7.png

    Now you should edit the menu items, and set the icon positions to “after”.

    I love the colors of your site, btw πŸ™‚

    Remember, you don’t need to edit your theme’s style.css if you don’t want to deal with the updates. You can use this plugin to override it: http://wordpress.org/plugins/simple-custom-css/

    Thread Starter Stefan1980

    (@stefan1980)

    Thanks man… When I try your adjustment (using inspect element) realtime it works. However when I pit that piece of code in my plugin CUSTOM CSS or even my Child Style.css file nothing happens πŸ™ πŸ™

    And idea why that would be?

    Thanks

    Try this in Custom CSS:

    #access a span span {
        display: inline;
        padding: 0;
        text-transform: none;
    }
    Thread Starter Stefan1980

    (@stefan1980)

    Nope nothinh changed πŸ™
    Could it be that code in custom CSS or Style.css (child theme) are not used or overwritten in some way ?? I tried putting this code in both and no change.

    It’s working: https://cloudup.com/cm35donkr_h

    Try clearing your browser’s cache.

    Thread Starter Stefan1980

    (@stefan1980)

    πŸ˜‰ super that indeed did the trick!!! Thanks a lot!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Icon next to menu item title’ is closed to new replies.