- This topic has 7 replies, 4 voices, and was last updated 1 year, 9 months ago by Ying.
-
AuthorPosts
-
June 7, 2022 at 1:34 am #2245781Nick
Hi,
I can’t remove a featured image on a blogpost, the page see below . How can I fix this?
June 7, 2022 at 2:00 am #2245804Fernando Customer SupportHi Nick,
If you enable “Disable Elements” module in Appearance > GeneratePress, you’ll have an option to disable the feature image while editing a post: https://share.getcloudapp.com/DOudvW46
You may also do so with a Layout Element if you want to remove the featured image for all posts, or more than one posts.
Reference: https://docs.generatepress.com/article/layout-element-overview/#disable-element
Hope this helps!
July 4, 2022 at 11:43 pm #2273372PrabakaranHello,
I used this option to disable the featured image for the page. I disabled the display option for the featured image, but it loads the featured image in the frontend. I do not want to load the image in the frontend. for ex. please look at it https://nviewscareer.com/
July 4, 2022 at 11:57 pm #2273381Fernando Customer SupportHi Prabakaran,
Can you provide the link to the specific page with the specific issue?
If you’re seeing the featured image in the homepage, kindly let us know.
Hope to hear from you soon.
July 5, 2022 at 1:05 am #2273435PrabakaranHi, please have a look at the frontend https://nviewscareer.com.
Indeed, the image is not displayed in the frontend, but the featured image is loaded in the html as < div class=”featured-image page-header-image “> < /div >. Also, the external stylesheet featured-images.css is loaded as well.
For your information, I do not use a page header element (hero). Only the page content.
< div class=”featured-image page-header-image “>
< img width=”800″ height=”450″ src=”/scaled-800×450.jpg” alt=”nViews Career Academic Job Board” / >July 5, 2022 at 2:09 am #2273472Fernando Customer SupportI see. Thank you for clarifying.
That’s the default if you have a Featured image set in the Page Settings of a page.
Example: https://share.getcloudapp.com/JruoObkd
You can disable Page Images through Appearance > Customize > Layout > Blog > Featured Images > Pages: https://share.getcloudapp.com/L1uXR7ON
Hope this clarifies!
July 5, 2022 at 5:02 am #2273594PrabakaranHi, thanks for the update and the information.
The settings mentioned applied to all pages. Then we lost the granular control on some pages.
Please consider updating the disable items feature to increase productivity.Could you please let me know the exact filter to dequeue the featured-images.css in custom post types.
Since I am using a unique layout, featured-images.css is completely unused.July 5, 2022 at 10:25 am #2274022YingStaffCustomer SupportPlease consider updating the disable items feature to increase productivity.
That’s actually a bug. When you use the disable element of layout metabox in the post/page editor, it is supposed to remove the image from HTML, we’re aware of that issue, and will try to fix it ASAP.
For now, the layout element is a better choice, as it removes the image from HTML.
-
AuthorPosts
- You must be logged in to reply to this topic.