ThemeShaper Forums » Thematic


Styling a sticky post

(3 posts)
  • Started 10 years ago by Matt Gilbert
  • Latest reply from Jonny Janiero
  • This topic is not resolved
  1. Hey guys,
    I am 99% done with styling a new child theme based upon the featured-site theme. The one and only problem I am having is with sticky posts in the blog.

    When the blog page is loaded the sticky post is displayed and styled exactly the way I want it. The problem is that when you load the actual post that was made sticky, the div formatting remains on the full post and doesn't look right. All I want to do is strip the "sticky" class from the post when viewing the post, but keep it when looking on other pages.

    I have gone over all of the class tags for the div and its parent divs, and they are identical. I think some php in the functions file should help, since on the featured child theme it's able to get the post title pulled up and out of the content. If a function could remove the sticky tag when the post itself is viewed that would solve all my problems, but I am not that good of a programmer yet to know how to properly do this without breaking something else.

    Any help whether direct answer, or pointing me in the right direction would be appreciated. Thanks in advance for your help.

    Posted 10 years ago #
  2. So... can anyone help me with this one?

    Posted 10 years ago #
  3. can u post link?

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.