• 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

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    Thread Starter rattletop

    (@rattletop)

    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
    https://pastebin.com/GDxT1ucq
    how to seperate the case ‘tag’ so that i can specify another style for the tags in footer?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help with post footer’ is closed to new replies.