Jump to content
Sign in to follow this  
bwdsl247

Hide Post Title but only on specific posts

Recommended Posts

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

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

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

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

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

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

    • Dan Haddock
      By Dan Haddock
      Hi Pagelines team and wider community,
      I am looking to develop a single post page for my blog. I have read over an old article on the subject, however the link provided on achieving this goal was giving me security warnings. Is there any way I can get round this?
      Secondly, I have had a root around the .zip file provided on my sites backup, however was unable to locate any file in there with the name of Single.php. Does this file exist in the Pagelines theme?
      By the way, this is the unsafe article: http://support.pagelines.me/docs/customization/create-a-custom-page-template/ (Click at your peril).
       
    • 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!!!
×