Home Forums WoodMart support forum Single Product Layout description (display condition)

Single Product Layout description (display condition)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #655494

    9skies
    Participant

    Hello,

    First of all, thank you for a wonderful theme and for your hard work.

    I love the way how your preconfigured layout for single product works. Although since I should be migrating the website, I won’t be able to make HTML descriptions for every single product before I launch. I was wondering if there is a way to automatically hide Description container altogether, if empty. I saw there is a “display condition” section as Elementor’s PRO feature, but I am not sure if that will do the thing and if you guys included something like that in the settings that I am missing.

    And the second question is to clarify something. As far as I understand the settings in the “single product” section of the theme are overwritten by the layout, if exists. Is that correct?

    Thank you in advance for your reply.

    Best Regards,
    Albert

    • This topic was modified 3 hours, 52 minutes ago by 9skies.
    Attachments:
    You must be logged in to view attached files.
    #655500

    9skies
    Participant

    additional: I’ve successfully hidden the description if no content, but unable to stretch the specifications to 100% width with the code:

    .elementor-element-1ee1ec8:not(:has(> *:nth-child(2))) {
        display: none !important;
    }
    
    @media (min-width: 769px) {
        .elementor-1055 .elementor-element-ee5b9bd
        :has(> .elementor-element-1ee1ec8:not(:has(> *:nth-child(2))))
             --width: 100% !important;
             width: 100% !important;
             max-width: none !important;
             flex-basis: auto !important;
        }
    }
    • This reply was modified 2 hours, 12 minutes ago by 9skies.
Viewing 2 posts - 1 through 2 (of 2 total)