New Landing How can we help? Atelier Remove Product Attributes on Left Navigational Pane if "0"

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Atelier
  • #244911
    racheldeters
    Member
    Post count: 45

    Hello,

    For a product shop page, how do I remove or “turn off” product attributes that equate to “0”. For example, Athletic Wear has products for bottoms, tops/tees, but not for dresses & skirts, coats/jackets. So, the dresses/skirts & coats/jackets show “0” products when I am on the Athletic Wear page and the formatting is all screwed up. Is there either 1) A way to remove the product attributes on the left navigational pane if the total is 0 or 2) At least fix the formatting so that the spacing aligns.

    See the attached screenshot for reference.

    Best,
    Rachel

    Attachments:
    You must be logged in to view attached files.
    #245296
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add this to your custom css:

    .widget_layered_nav ul li span {
      display: none!important;
    }
    .woocommerce .widget_layered_nav ul li {
      padding: 0;
      margin: 0!important;
    }

    – Kyle

    #246057
    racheldeters
    Member
    Post count: 45

    That works great. Thanks!!

    #246058
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem 🙂

    #317600
    admin_cz
    Member
    Post count: 55

    Hi, I used the code you suggested to remove the inactive/empty product attributes, and it worked just fine, but the attributes separators are still visible. How can I delete them? Thanks!

    (Code used:)
    .widget_layered_nav ul li span {
    display: none!important;
    }

    Attachments:
    You must be logged in to view attached files.
    #317713
    David Martin – Support
    Moderator
    Post count: 20834

    Please provide a link to that page.

    #317720
    admin_cz
    Member
    Post count: 55
    This reply has been marked as private.
    #317723
    David Martin – Support
    Moderator
    Post count: 20834

    Please add this to Theme Options => Custom CSS:

    .widget ul li, 
    .widget.widget_lip_most_loved_widget li,
    .widget_download_details ul > li {
        border-color: transparent!important;
    }
    #317726
    admin_cz
    Member
    Post count: 55

    Thank You! I changed it little bit and now it works!

    .widget ul li,
    .widget.widget_lip_most_loved_widget li,
    .widget_download_details ul > li {
    border: 0px !important;
    }

    .woocommerce .widget_layered_nav ul li {
    padding: 0px !important;
    }

    #317727
    David Martin – Support
    Moderator
    Post count: 20834

    Very glad to help you out.

    If you have found the theme/support useful, we appreciate it if you can leave feedback on our item if you have the time as it really helps us out.

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register