Forums

Setting id to menu links, making them style-able. (3 posts)

  1. jonas_e
    Member
    Posted 1 year ago #

    Hi, Im relatively new to wordpress, and im struggling a bit to find if it's possible to give the links in a menu a id. i need to make a menu with images (different images for the different links), a example would be a house for "home" and an envelope for "contact me" or something like that. So i can style the different links with CSS i mean.
    Could anyone please help me/point me to a informative post about this topic?

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    many menu functions already give an individual class to the links;
    for instance 'wp_list_pages()' http://codex.wordpress.org/Function_Reference/wp_list_pages#Markup_and_styling_of_page_items

    if you could be more specific, you might get more help.

  3. jonas_e
    Member
    Posted 1 year ago #

    Don't really know how i can be more specific.

    But i might figure out a way to do what i need to with the automated classes, thanks for the reference-page, i must've missed it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags