[Resolved] Image as navigation item

Home Forums Support [Resolved] Image as navigation item

Home Forums Support Image as navigation item

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #141030
    xdaniel

    HeyHo,

    maybe I don’t look for the right search terms.

    Is there a way to add an image (not font awesome / need jpg or png) with link, left to the search icon in primary navigation? This would be so great πŸ˜‰

    Best, Daniel

    #141058
    bdbrown

    Hi Daniel. This post might help:
    https://generatepress.com/forums/topic/adding-an-image-to-the-nav-bar/

    You’d need to use a different class (the theme already uses .site-logo), add a link and then float it right.

    #141098
    Tom
    Lead Developer
    Lead Developer

    You should also be able to add the image HTML directly to a “Custom Link” in “Appearance > Menus”.

    You would just do something like this: <img src="URL TO YOUR IMAGE" alt="" />

    Just make sure the image is the right size to fit in a menu item.

    #141218
    xdaniel

    Yes that worked, but it’s hard to align an image πŸ™‚

    #141242
    Tom
    Lead Developer
    Lead Developer

    It will definitely take some tweaking πŸ™‚

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.