How to remove default cover image from Woocommerce detail page
This topic contains 50 replies, has 4 voices, and was last updated by Alex Rollin 7 years, 1 month ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: remove default cover image
-
AuthorPosts
-
May 23, 2018 at 5:19 am #431722
HI,
We have integrated the Woocommerce with Geodirectory. Now we able to remove the default cover image from the other static pages of Woocommerce but product detail page is still showing default cover image.
Kindly suggest how to remove the cover image from “Product Detail page” (https://www.tuikart.com/product/profile-content-writing-upto-1000-words/)
*we only wanted cover page to be displayed on main Shop landing page (i.e https://www.tuikart.com/shop/)
Pls. suggest
May 23, 2018 at 7:36 am #431739You can try this constant in wp-config.php
define('SD_DEFAULT_FEATURED_IMAGE', "http://yourdomain.com/images/featured.jpg")
May 23, 2018 at 1:32 pm #431791This reply has been marked as private.May 23, 2018 at 1:37 pm #431793Hi Piyush,
Try using the custom CSS code below and see if it’s what you’re looking for.
.featured-area.woosingle-featured-area .featured-img { visibility:hidden!important; } h1.product_title.entry-title { display:none!important; } .woocommerce-page h1.page-title { display:none!important; }
May 23, 2018 at 1:52 pm #431801This reply has been marked as private.May 23, 2018 at 1:56 pm #431805Hi Piyush,
Let’s refer to this page first https://www.tuikart.com/product/profile-content-writing-upto-1000-words/ . You mentioned that you need to remove the cover image and I’ve provided the code above to hide it.
.featured-area.woosingle-featured-area .featured-img { visibility:hidden!important; }
Also, I’ve removed the title as shown in the attached screenshot. Or am I misunderstanding everything?
Thanks!
May 23, 2018 at 2:13 pm #431814This reply has been marked as private.May 23, 2018 at 2:27 pm #431822Hi Piyush,
If that’s the case, use the code below to remove the grey area.
.featured-area.woosingle-featured-area { display:none!important; }
May 23, 2018 at 4:00 pm #431852Hi Kor,
Thanks as it helps to remove the grey area but still we have issue of double H1 Tag on this page.
Also how to solve other pages too.
May 24, 2018 at 1:07 am #431922Hi Piyush,
Thanks for your reply. Could you please share some screenshots? If you’ve remove the grey area of this page https://www.tuikart.com/product/profile-content-writing-upto-1000-words/ . You should only see this title. Am I missing something?
Which other pages that you would like to remove the grey area?
Thanks!
May 24, 2018 at 4:37 am #431939Case 1 ( Category and Sub category Pages): Cate.jpg is the Attached image
https://www.tuikart.com/product-category/profile-writing-service/Wanted to retain the cover image but Title of the page should some over the Cover image. Also, H1 is missing from this page as we had hide the Woocommerce page title to retain the GD cover image.
Case 2 (detail pages): (attached images)
https://www.tuikart.com/product/profile-content-writing-upto-1000-words/Wanted to remove the cover image from these detail pages. Double time H1 tag is coming on this page as we have not hide the Woocommerce page title.
May 24, 2018 at 8:31 am #431962Hi Piyush,
Thanks for your reply. I’ll try my best to make the changes following my understanding regarding your request.
For Case 1 – You would like to have the Page Title to be more visible. Here is the custom CSS
.woocommerce-page h2.entry-title a { color: #fff!important; font-size:30px!important; }
For Case 2 – Removing the HTML code from that page would require customization. In the meantime, you can only hide it with custom CSS>
Thanks!
May 24, 2018 at 10:08 am #431965This reply has been marked as private.May 24, 2018 at 10:19 am #431968Hi Piyush,
1. Could you share both Cat and Sub Cat URL’s?
2. Could you share a screenshot for this? I really don’t understand what you mean.
Thanks!
May 24, 2018 at 12:35 pm #431991Hi Kor,
https://www.tuikart.com/product-category/profile-writing-service/
Above url is the Category url where product/service for “Profile Writing Service” are listed.
Ideally this Category page should have the page title i.e “Profile Writing Service” but currently it is taking latest product title as page title i.e “profile content writing upto 1000” .
Thanks,
Piyush
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket