Archived

This topic is now archived and is closed to further replies.

  • 0

Resolved Hide Post Title but only on specific posts


Question

Posted · Report post

Hi -

I'm trying to hide post titles, but only for specific posts, not all.

For another theme I was using the CSS to do this was:

#post-1126 h2 {

display:none!important;

}

I tried this, but it didn't work in Pagelines.

Can you tell me the proper CSS tweak for this to work?

Thank you!

Share this post


Link to post
Share on other sites

7 answers to this question

Posted · Report post

Thanks very much.

Share this post


Link to post
Share on other sites

Posted · Report post

That works, thanks. One other related aspect to this is that in lieu of a title, I'm using a featured image that contains the title.

However, for some reason, a border or shadowed box is being automatically inserted around the feature image.

What do you recommend as the .CSS to remove?

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

Add this to your custom CSS:


.c_img {
background: transparent;
border: none;
box-shadow: none;
}
[/CODE]

I highly recommend you install either Firebug or use Google Chrome's Web Dev tool, these tools allow you to inspect your code and make changes on the fly locally, making it super easy to make custom CSS changes.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi

You can try with


#post-1126  h1, .fpost .entry-title {

    display:none!important;

}

Share this post


Link to post
Share on other sites

Posted · Report post

The topic was marked as resolved.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

Did Batman's suggestion work for you?

After reviewing Batman's code a second time, please try the code below.


.postid-1126 .entry-title {
display: none;
}
[/CODE]

Share this post


Link to post
Share on other sites

Posted · Report post

Thank you very much, this is helpful.

Share this post


Link to post
Share on other sites