WordPress.org

Ready to get started?Download WordPress

Forums

a fix for get_links_list h2 problem (1 post)

  1. RegShoe
    Member
    Posted 8 years ago #

    For some time now I've been wondering how to display the links list properly using this template tag.
    It then popped in my mind that CSS allows '*' when styling an object child.

    Whatever the parent object of '<?php get_links_list('id'); ?>' is, id it as "fixlinks", or anything else you'd like.
    Add this to style.css:
    #fixlinks * h2 {
    font-size: medium; (or any font size wanted)
    }
    My link list's parent object was ul, so I added this style so I'll have no padding in it:
    #fixlinks {
    padding: 0;
    }

    Hope this is understandable, and mostly I hope this is needed.

Topic Closed

This topic has been closed to new replies.

About this Topic