Help with post footer (3 posts)

  1. rattletop
    Posted 4 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


  2. peredur
    Posted 4 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.



  3. rattletop
    Posted 4 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
    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