Add image to page title/menu item (4 posts)

  1. foodergolove
    Posted 2 years ago #

    I wish to insert a small image/icon after the words in the title of a page. This page shall also appear in my main site's menu. In other words, I want the menu choice, which is also the page title, to have words, then a small image next to them (a smiley face). Is this possible? Thank you.

  2. nikeo
    Theme Author

    Posted 2 years ago #

    Hi, to style the menu (and add and image after for example), you might want to check this snippet : adding classes to the WordPress menu
    For the page title, you can easily target the title with the specific page id attributes (in the body tag) and add content after with :after pseudo class.
    Hope this helps

  3. foodergolove
    Posted 2 years ago #

    Thank you very much. I will try this and let you know.

  4. chappie
    Posted 2 years ago #

    For the page title image, this worked for me:


    Slightly different as I was replacing the icon with an image.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.