Jump to content
Sign in to follow this  
bwdsl247

Hide Post Title but only on specific posts

Recommended Posts

bwdsl247    3
bwdsl247

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
batman    389
batman

Hi

You can try with


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

    display:none!important;

}


Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

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]


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
bwdsl247    3
bwdsl247

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
Danny    1,327
Danny

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.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

The topic was marked as resolved.


Please search our forums, before posting!

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  

  • Similar Content

    • Claudio
      By Claudio+
      I have a problem with the typography settings. I set the H1 class with "font-weight: 300;" (Very thin weight), and "font-size: 50px;" (To have considerable evidence of my problem). Unfortunately, as you can see on the screenshots, those setting don't have any incidence on the site, Infact in the home page editor there is a trial title called "Text test", bold, and 26 px approximatly sized.
      Why the typography settings are not transposed on the site? Where I wrong?


    • Queue-it
      By Queue-it+
      Hi,
      Do you know how to hide a container background image only mobile?
      I've tried all the possible versions with .@media display hide [pl_uploads_url]/2016/10/image.png    but it would hide all container not just the image. 
       
    • Queue-it
      By Queue-it+
      Hi,
      How can I remove the "next post" links below each post page? 
      https://queue-it.com/cdn-blog/
      Before we had a related post section, but I can't find it among any functions, widgets etc. 

    • lutz
      By lutz
      Hi everybody,
      I use Pagelines for some years now, but for the first time I have to split up posts into several pages.
      Unfortunately, <!-- nextpage --> doesn't work.
      Can please someone help me, making that work?
      I don't have the time to change the theme and need the post split up because it would be way too long, espcially on mobile displays ...
      Thanks in anticipation!!!
    • Louis
      By Louis
      Hi, thanks for making such a wonderful theme :)
       
      I set my website up nearly exact as I like it. 
       
      Only problem is that on the homepage my post's text is indented as if there was a widget area in the left side but I only have one for the right side.
       
      Here is what it looks like on the home page: www.gutjourney.com
       
      When you click on the post, it looks like how I wish it looked (width wise)  (I still want to continue with the post previews on my home page). 
       
      Can someone help me make my posts on my homepage line up to the left of my logo the same way they do on the actual post's page?
       
      Thank you!
       
      Louis
×