[resolved] Is it possible to add image to Home menu name? (4 posts)

  1. jankari
    Posted 1 year ago #

    In the Home page where the default menu name is "Home", can I add an image instead of the text? I know it cannot be done directly through the Page Builder, but I am wondering if it can be done through code change in mastheader.php.
    Thank you in advance for your time and effort in replying.

  2. jankari
    Posted 1 year ago #

    Hi Greg,
    Do you have any thoughts on whether this can be done?
    I am going to try adding an IF condition in the loop that builds the menu items to look for Home menu item and add img tag instead.
    Do you think this is the right approach?
    Thank you

  3. WPyogi
    Forum Moderator
    Posted 1 year ago #

    Using CSS would likely be easier - or see if this plugin will work -


  4. jankari
    Posted 1 year ago #

    Thanks WPyogi. The plugin worked like a charm! I don't know why I did not think of looking for a plugin. Although I am leary of having too many plugins, for any potential degradation in performance. So far, it has been fine.
    Thank you again!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.