WordPress.org

Ready to get started?Download WordPress

Forums

Help with post footer (3 posts)

  1. rattletop
    Member
    Posted 2 years ago #

    Hi. I'm trying to edit the CSS for my post footer. i display the categories, tags and comments in the post footer(the post footer has a common CSS class) i want to have a seperate styling(font, background image) for tags alone. i know CSS pretty well but i don't know php much. can any1 tell me how to modify functions.php file so that i can have a separate class for category list, comments and another class for tags alone. here's the functions.php file code that is related to post footer.

    [Code moderated as per the Forum Rules. Please use the pastebin]

    so i think i want the case 'tags' somehow not to be a part of $result, as $result is under art-post{$class}icons class. i want it to have a separate style.
    u can see my problem in the link

    http://i52.tinypic.com/21o296t.jpg

  2. peredur
    Member
    Posted 2 years ago #

    There may be an easier solution, using CSS specificity rather than messing around with funtions.php. If you post a link to your site we can take a look.

    Cheers

    PAE

  3. rattletop
    Member
    Posted 2 years ago #

    yes. i understand a specific CSS is required for the tags but as seen in my functions.php file, it seems all the post footer elements r using the same CSS. here's my code, since it got moderated in the previous post
    http://pastebin.com/GDxT1ucq
    how to seperate the case 'tag' so that i can specify another style for the tags in footer?

Topic Closed

This topic has been closed to new replies.

About this Topic