Home › Forums › WoodMart support forum › How can I hide videos in the shop page ?
How can I hide videos in the shop page ?
- This topic has 5 replies, 2 voices, and was last updated 1 year, 5 months ago by Elise Noromit.
-
AuthorPosts
-
June 20, 2023 at 5:17 pm #476148
gastroinventar.dkParticipanthello, with the css code below, I show the short descriptions in the product archive section as in the attached picture, but I do not want the videos to appear here. Videos are added to short descriptions with youtube link. Is it possible to hide these videos on all category shop pages?
.product-list-content .woocommerce-product-details__short-description p {
width: 9em !important;
height: 6em !important;
white-space: nowrap !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
}
.tax-product_cat .product-list-content .woocommerce-product-details__short-description p:nth-child(2) {
display: none;
}Attachments:
You must be logged in to view attached files.June 21, 2023 at 1:37 am #476206
Elise NoromitMemberHello,
Please check the Dashboard > Layouts and find the Single product template, delete the video there, if you do not have this layout, insert the site admin access into the Private content below the message area. We will take a closer look at the case.
Best Regards
June 21, 2023 at 10:17 am #476264
gastroinventar.dkParticipantWhy should I delete the video? My problem is that it doesn’t show up in the categories section. In addition, as I shared in the photo, there are scrolls next to some products. It seems to me that the answer you gave and the question I asked are very different from each other? Because the only product page is a separate place, most of my products already have videos. I want you to read the question in detail and answer me again.
Attachments:
You must be logged in to view attached files.June 22, 2023 at 1:56 am #476481
Elise NoromitMemberHello,
How can I hide videos in the shop page ?
The title of your topis is “How can I hide videos in the shop page ?”
Please clarify your purpose. Where you want to show and where you want to hide. Please provide the page URLs.
Best Regards
June 22, 2023 at 6:13 pm #476708
gastroinventar.dkParticipantI think I showed my problem very clearly in my previous answer by giving photos and url.
Let me explain again:First of all, I marked my problem in the photo. I also added the URL to the secret answer. As I marked in the photo, there is a floating place next to the short descriptions on this page, I want to remove it or I do not want the videos added to the products on this store page to appear on these listing pages with additional css.
however, I do not want to remove the videos on the single product page, I do not want them to appear only on the store pages.
I hope I was able to explain my problem this time. 🙂
Attachments:
You must be logged in to view attached files.June 23, 2023 at 2:08 am #476762
Elise NoromitMemberHello,
Your single product is created with the Woocommerce builder of WoodMart allowing to create custom templates for product pages and other functional pages that are not editable by default. Woocommerce builder is the inbuilt functionality widget included in the builder you use on the site.
Please check this manual: https://xtemos.com/docs-cat/woocommerce-layouts-builder/?theme=woodmart and https://xtemos.com/docs-topic/single-product-page-builder/
You need to find a single product in the Dashboard > Single product and remove this content. If you cannot find it, please insert the site admin access into the Private content below the message area. We will take a closer look at the case.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register