Jump to content


Photo
- - - - -
Resolved

Hide Post Title but only on specific posts

Title Post Hide

  • Please log in to reply
7 replies to this topic

#1 bwdsl247

bwdsl247

    Advanced Member

  • Members

  • 40 posts
  • Framework Version:2.3
  • Country: Country Flag

Posted 24 September 2012 - 03:22 AM

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!

#2 batman

batman

    Bat Learning

  • Members

  • 2005 posts
  • LocationBuenos Aires, Argentina
  • Framework Version:DMS
  • Country: Country Flag

Posted 24 September 2012 - 03:28 AM

Hi
You can try with

Please Login or Register to see this Hidden Content



#3 Danny

Danny

    Is Awesome!

  • Moderators
  • 15103 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 24 September 2012 - 09:11 AM

Hi,

Did Batman's suggestion work for you?

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

Please Login or Register to see this Hidden Content



#4 bwdsl247

bwdsl247

    Advanced Member

  • Members

  • 40 posts
  • Framework Version:2.3
  • Country: Country Flag

Posted 25 September 2012 - 03:52 AM

Thanks very much.

#5 bwdsl247

bwdsl247

    Advanced Member

  • Members

  • 40 posts
  • Framework Version:2.3
  • Country: Country Flag

Posted 25 September 2012 - 04:16 AM

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?

#6 Danny

Danny

    Is Awesome!

  • Moderators
  • 15103 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 25 September 2012 - 09:28 AM

Hi,

Add this to your custom CSS:

Please Login or Register to see this Hidden Content


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.

#7 Danny

Danny

    Is Awesome!

  • Moderators
  • 15103 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 25 September 2012 - 09:29 AM

The topic was marked as resolved.

#8 bwdsl247

bwdsl247

    Advanced Member

  • Members

  • 40 posts
  • Framework Version:2.3
  • Country: Country Flag

Posted 25 September 2012 - 01:05 PM

Thank you very much, this is helpful.





Also tagged with one or more of these keywords: Resolved, Title, Post, Hide