Support » Themes and Templates » How to format background for sidebar links with CSS?

  • Resolved ABTOP

    (@abtop)


    In my sidebar.php there is a line <?php get_links_list(); ?>, which inserts all the links under their respective categories into the sidebar. So far so good.
    I want to change the background of the links, but leave the background of the link categories headers as they are. The problem is that if I hang some CSS on that line, the formating will apply to everything – headers and links.

    Is there any way to format the links separately from their headers?

Viewing 1 replies (of 1 total)
  • The solution is to apply CSS to class “linkcass-x”, where ‘x’ is the number of the link category.

Viewing 1 replies (of 1 total)
  • The topic ‘How to format background for sidebar links with CSS?’ is closed to new replies.