- This topic has 22 replies, 2 voices, and was last updated 4 years, 2 months ago by Elvin.
-
AuthorPosts
-
October 16, 2014 at 8:07 am #39477Carlotta Gergely
Hi Tom,
I was looking for a solution to hide the featured image in a post because
it takes a lot of space on top of the post.
But I couldn’t find it in generate press theme. Is there any possibility
for this?
Thanks for feedbackOctober 16, 2014 at 12:20 pm #39607TomLead DeveloperLead DeveloperHi there,
It’s on my list to add that option to the Customizer, but for now you have to use CSS.
This should do it:
.page-header-image-single { display: none; }
October 17, 2014 at 12:59 pm #39854Carlotta GergelyThank you, Tom, works fine
February 6, 2015 at 11:29 am #73096DarylHey Tom,
Is this feature still on the “to do” list? I’d like to see it customizer for sure. What I’m trying to do is show thumbnail images during a list of posts (the featured image), and then when you are viewing the single post, the Featured Image is hidden so only the photos attached within the post itself are visible.Finally, where do I insert the css for now?
Thanks!! Best theme on the nets!
DarylHere’s the site we’re using http://nrmg.org
February 7, 2015 at 10:37 am #73250TomLead DeveloperLead DeveloperAh yes, this is still on the list – will add it to the next version.
There’s a CSS plugin in my signature which you can use.
Nice site! π
March 31, 2016 at 9:34 am #183194Danielis this still current, because it doesn’t seem to work anymore! Thx!
March 31, 2016 at 10:53 am #183226TomLead DeveloperLead DeveloperYes, this should still work.
Can you link me to a single post where the page header is showing?
April 1, 2016 at 1:57 am #183371DanielOf course, here – the images are still showing:
http://www.shensmithbarristers.co.uk/litigation/
http://www.shensmithbarristers.co.uk/regulatory/commercial-regulatory-investigations-prosecutions/
thanks!
April 1, 2016 at 10:11 am #183464TomLead DeveloperLead DeveloperThe first link is a page, so that code won’t work. However, you can just remove the image from the page if you don’t want it there.
The second link is a post so it should work, but I’m not seeing the code added anywhere. How are you adding it?
April 4, 2016 at 2:13 am #183993DanielAdding it using the custom CSS plugin π
April 4, 2016 at 9:46 am #184095TomLead DeveloperLead DeveloperLooks like it’s working now π
August 12, 2016 at 8:17 am #217681tobymiguelHi Tom
It would be nice to see this feature implemented to hide the featured image on single post.
Currently I am hiding it with CSS, but this doesn’t mean it will not load. Having a big original image not resized loading in every post slows down the size, therefore it would be nice if there was a feature to stop it from loading at all. I have bought premium btw. and the features is not there as well.
Thanks for a nice overall theme btw
August 12, 2016 at 9:10 am #217701TomLead DeveloperLead DeveloperThanks for the push! I just added this to GP Premium 1.2.90 π
August 13, 2016 at 6:29 am #217878tobymiguelHi Tom
That was quick! When will the update be available?
Another thing I discovered. I just put a size on featured images, in the customizer under blog options. I did this, so the site did not have to load the original image (typically > 1000px wide) to save on the Page size. My page size went down 50% after this, so it is a good choice.
However this destroyes the PageSpeed score, because it will tell me to serve scales images and specify the image dimensions. I use 2 collum layout with the first post being full width. Maybe the images in the collumns could have a width set like if you had not specified image dimensions in the blog options?
August 13, 2016 at 9:12 am #217908TomLead DeveloperLead DeveloperI wouldn’t put too much weight on PageSpeed, it’s not a great indicator (https://blog.wp-rocket.me/the-truth-about-google-pagespeed-insights/).
However, I’m working on a way to implement srcset into the resized images as well.
-
AuthorPosts
- You must be logged in to reply to this topic.