Home Forums WoodMart support forum How can I hide videos in the shop page ?

How can I hide videos in the shop page ?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #475731

    gastroinventar.dk
    Participant

    hello, 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 this page?

    .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;
    }

    Attachments:
    You must be logged in to view attached files.
    #475734

    gastroinventar.dk
    Participant

    In addition to my question, there are spaces by the way, is there a way to close them? I marked it in the attached photo.

    Attachments:
    You must be logged in to view attached files.
    #475841

    Hello,

    Please share the page URL where you want to hide the videos and remove the space so I will give you the custom CSS code or possible solution to your issue.

    Best Regards.

    #475913

    gastroinventar.dk
    Participant

    URL’s are added in the private content.

    #476044

    Hello,

    Please try to use the below custom CSS code and paste it to THeme Settings >> Custom CSS >> Global CSS section:

    .tax-product_cat .product-list-content .woocommerce-product-details__short-description p:nth-child(2) {
        display: none;
    }

    Best Regards.

    #476060

    gastroinventar.dk
    Participant

    thank you very much, my problem is solved, can you please hide the urls of my site in the previous answer section?

    #476080

    Done.

    We are glad that you managed to solve the problem yourself. You are Great!!!

    Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.

    Have a wonderful day.

    Topic Closed.
    Best Regards.

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘How can I hide videos in the shop page ?’ is closed to new replies.