WordPress.org

Forums

[resolved] Replace text-links to pages with images (3 posts)

  1. h34dbanger
    Member
    Posted 3 years ago #

    hello world!

    i'm using wordpress as a CMS. i would like to replace the links to pages in the navigation menu with images. how do i do it so that i can assign a unique image to each pages to be displayed instead of the text link (i'm working based on twentyeleven theme). any pointers? maybe there's a plugin for that that i havent seen?

  2. pixel-Jay
    Member
    Posted 3 years ago #

    You can add images to the navigation menu, instead of using the page name, for example - Sample Page, you can use <img src="the/url/to/your/image" />
    in the Label field. Assign a class to the image for more css control.

    Hope this helps

  3. h34dbanger
    Member
    Posted 3 years ago #

    pixel-Jay wrote:

    You can add images to the navigation menu, instead of using the page name, for example - Sample Page, you can use <img src="the/url/to/your/image" />
    in the Label field. Assign a class to the image for more css control.
    Hope this helps

    thanks, works well...titles of the pages look very ugly in the backend, but as a quick fix i guess it's ok solution.

Topic Closed

This topic has been closed to new replies.

About this Topic