Jump to content

Archived

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

frakture

Remove Featured Image from actual blog posts?

Recommended Posts

frakture    1
frakture

Hi there, wondering if there is a way to remove the featured image from the blog posts themselves. Looks silly that there are two of the same images in the blog post. Am I correct to assume that we need the featured image for the thumbnails in the flipper and post loop? Thanks!

Share this post


Link to post
Share on other sites
batman    389
batman

Hi @fraktureP

Please, you can go in post loop on the blog post and you have the "Hide Thumb" option.

I add an image

http://screencast.com/t/FE4v6v3XFhv


Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
frakture    1
frakture

Ha! Of course it's something so simple! Thank you for taking the time to show me. :-) 

Share this post


Link to post
Share on other sites
James B    436
James B

Well done Batman, thank you for updating the thread frakture.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
simplyport    0
simplyport

Does it not give you the option in DMS 2, or am I not looking in the right spot? 

Share this post


Link to post
Share on other sites
GetMeWebDesign+    115
GetMeWebDesign

simplyport. You need to activate the legacy mode to get DMS 1 control, or use custom CSS/LESS

  • Like 1

Chrome Developer tools - please use them. If you are not sure how, then it is easy to learn

Be inventive in your keyword search of the forum ie Navi > Navbar > menu > tabs > font > color. Your answer lies there somewhere!

Share this post


Link to post
Share on other sites
sethoof    3
sethoof

I have the same problem, but don't want to activate legacy as its not supported going forward.  But I am not sure what to write in the CSS.  I looked on firebug, but its not clear to me.  Is there a simple fix to turn off the featured image in custom post types for DMS2? 

 

Thanks,

Seth

Share this post


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

To remove the Post thumb, add the following to your CSS.

 

#site .metamedia {
display: none;
}

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
sethoof    3
sethoof

Thanks, Danny.  I just put this into my custom CSS:

 

.hide-image {
  #site .metamedia {
display: none;
}
}
 
then I listed the hide-image in the Custom Styling Classes field of the WP Content Loop, but the featured image is still displaying.  Am I doing something wrong?
 
Thanks

Share this post


Link to post
Share on other sites
sethoof    3
sethoof

Perfect, Danny.  Thanks again for your help!

Share this post


Link to post
Share on other sites
dsolano    0
dsolano

Very cool!

 

I just put hide-my-image in the Styling Classes field on one of my Pages and it removed the Featured Image.  

 

Thank you.

Share this post


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

No problem, when I finally finish the new docs, I will be sure to add little cool snippets like this into the docs.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Simon    247
Simon

https://gist.github.com/Pross/9984549

  • Like 2

Share this post


Link to post
Share on other sites
jane    6
jane

Is it possible to hid the featured image on one specific post as opposed to hiding it on all posts?

Share this post


Link to post
Share on other sites
Simon    247
Simon

Is it possible to hid the featured image on one specific post as opposed to hiding it on all posts?

Every post has a post class id, look at the page source and the <body> classes. 

Share this post


Link to post
Share on other sites
jane    6
jane

Hi Simon_P,

 

So let's say I look up the post in question and its article id is 400. Would the following work?

.post-400 .metamedia {
  display:none;
                }
}

Or would I use the section id?

 

 

 

Share this post


Link to post
Share on other sites
Simon    247
Simon

Here is the body class of a post:

<body class="single single-post postid-1 single-format-standard logged-in admin-bar no-customize-support dms pl-pro-version responsive full_width pl-editor template-none display-full">

So if i want to hide metamedia on that post id use something like:

 

.postid-1 .metamedia {

    display:none;

}

 

Your snippet is invalid css, and also the postid format is wrong.

  • Like 2

Share this post


Link to post
Share on other sites
jane    6
jane

Thanks Simon_P for helping me out

Share this post


Link to post
Share on other sites

×