WordPress.org

Ready to get started?Download WordPress

Forums

Naked Link Category headings(?) difficult to style (6 posts)

  1. carthik
    Member
    Posted 9 years ago #

    If I am getting your question right, the "Links"(default) or whatever it is that you use as a header for the links-list can be styled using
    the fact that that is tagged using <li id="links">.
    Styling that is left to the css, and you can use the unique id.

  2. Anonymous
    Unregistered
    Posted 9 years ago #

    Yup this is no problem. It is just a case of pinpointing the relevant selector; something like ul ul li or similar. Or style by the ids for individual control.

  3. Anonymous
    Unregistered
    Posted 9 years ago #

    I don't think you are quite right. If you select for li it will set the style for the category and the links as you say. BUT when you the style for the li a it will style the link only. Voila. HTH.

  4. zach
    Member
    Posted 9 years ago #

    So tell me how to add padding to the left of a category head ( li ) without adding padding to the following�nested�list items (li ul li ). They inherit the padding assigned to the parent li. I can tell I'm going to have to bust out the example, but I really don't want to. I'm tempted to say forget about it, now that I've found a solution for myself. However, mark my words, this issue is gonna bite some asses ; )

  5. Anonymous
    Unregistered
    Posted 9 years ago #

    Yes but all links are differentiated by being li a. Hence all li a styling overides the previously set li styling. The only thing it leaves unaffected is the li category header surely? That is true for padding as well as every other style. You have got me going on this now. Any minute now and I am going to be hacking about on my live css. :-)

  6. Anonymous
    Unregistered
    Posted 9 years ago #

    @Zach. I have just altered my category header color to black temporarily. But the links are white. Is that what you mean?
    Please note my site is at prototype status only.:-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.