Jump to content
Sign in to follow this  
rennert

Reset Sticky Post to normal

Recommended Posts

rennert

Is there any simple option to reset the style of sticky posts to the 'normal' style, so that they look just like all the other posts? Maybe without re-defining every little custom css I made for posts? Maybe without using the child theme and just deleting the '.sticky'-stuff?

Share this post


Link to post
Share on other sites
bryan-hadaway

Have you made too many stickies to simply un-stick them from the publish settings when editing the post? Thanks, Bryan

Share this post


Link to post
Share on other sites
rennert

No, thats not the problem. I just want to use the sticky function to put some post into the topmost position of my blog page, but without styling them different.

Share this post


Link to post
Share on other sites
bryan-hadaway

Ah, I see; okay, let's get a link. Thanks, Bryan

Share this post


Link to post
Share on other sites
Kate

Hi Uli - Unfortunately I think the two options you mentioned are the only two. The "sticky" class is what's causing it to look different, so you'll either have to restyle the class, or remove it from the PHP file.

Share this post


Link to post
Share on other sites
rennert

OK. There is no other option, any css-reset-function?

Share this post


Link to post
Share on other sites
Kate

You can find the CSS styles currently being applied to "sticky", copy them to your custom CSS, and change them from there. Or, simply add the "sticky" class to the declarations you already have in place for for posts. For instance:

.post, .sticky{background:transparent;}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×