WordPress.org

Ready to get started?Download WordPress

Forums

Add class to list-items in link-list (8 posts)

  1. NuclearMoose
    Member
    Posted 10 years ago #

    Isn't this a function of CSS inside a style sheet and not in the WP GUI? Maybe I'm not understanding what you are doing, Geof. Heck, I don't understand what *I* am doing half the time! :)
    Craig.

  2. gfmorris
    Member
    Posted 10 years ago #

    Craig:
    Go in to Manage Links, then Manage Link Categories. I'm editing the "before" under Text/HTML.

  3. NuclearMoose
    Member
    Posted 10 years ago #

    Aaaaah! Okay, now I see. Okay, now the next point...you are trying to add a class to the < li > element? Is that right? As in a CSS class?

  4. southerngal
    Member
    Posted 10 years ago #

    You want to use a show/hide script for your links?

  5. gfmorris
    Member
    Posted 10 years ago #

    Yes, ma'am. :)

  6. southerngal
    Member
    Posted 10 years ago #

    It's okay Craig, I happened to know what he was talking about as I had just helped someone with this. :)

  7. gfmorris
    Member
    Posted 10 years ago #

    I think I see what you're suggesting; my present migraine is telling me to look at it later, like after the bustle of Christmas. :)

  8. davidchait
    Member
    Posted 10 years ago #

    I don't know exactly what you're trying to do in script (sg sounds like she's on it!), but my typical approach on the other end would be to revise the get_links_ functions to actually take an optional class parameter, and if the parameter is non-empty, tack a class='$param' into the forming of the opening li construct.
    =d

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.