Home Forums WoodMart support forum Hide tabs if empty

Hide tabs if empty

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #317755

    iivaa
    Participant

    Hello,
    I have two guestions:

    1. Is it possible to hide the section with borders above Similar products when there are no tabs in Product page?

    2. How to remove some options from the Products sorting dropdown?

    Best regards

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

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body .product-tabs-wrapper {
    display:none;
    }

    Best Regards

    #317912

    iivaa
    Participant

    Hello,
    I want to hide the section with borders (tabs section) only when there are no tabs i.e the content is empty, not always.

    body .product-tabs-wrapper {
    display:none;
    }

    With the css above the tabs always will be hidden even when there is a content.

    Best regards

    #317970

    Hello,

    Unfortunately, it is not possible. I can just give CSS to make the border transparent however the gap will remain.

    Here is code, please remove the previous one:

    body .product-tabs-wrapper {
        border-color: transparent;
    }

    Best Regards

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