Site logo

[Resolved] Sidebar on mobile by click

Home Forums Support [Resolved] Sidebar on mobile by click

Home Forums Support Sidebar on mobile by click

Viewing 11 posts - 16 through 26 (of 26 total)
  • Author
    Posts
  • #1515863
    David
    Staff
    Customer Support

    Updated the changed CSS here to include the Select field:

    https://generatepress.com/forums/topic/sidebar-on-mobile-by-click/#post-1513282

    #1515884
    roadlink

    Hi David,

    Really appreciated for you time.

    But the issue is still there. https://prnt.sc/vcj3rg

    1. Attribute name is not shown fully.
    2. Values can’t be seen or select.

    #1515996
    David
    Staff
    Customer Support

    The widget has inline styling that is limiting it to 100px.
    Try this CSS to overcome that:

    .woocommerce-widget-layered-nav .select2-container--default .select2-search--inline .select2-search__field {
        width: unset !important;
    }
    #1516111
    roadlink

    Hello David,

    Yes, this solve the #1.
    But still there is no attribute in there. This is weird.

    #1516624
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Does this CSS help?:

    .select2-container--open {
        z-index: 999999;
    }
    #1516764
    roadlink

    Hi Tom,

    Yes, It works.

    Thanks

    #1518015
    Tom
    Lead Developer
    Lead Developer

    No problem!

    #1532368
    roadlink

    Hey there,
    I just realized that when we choose an attribute, it moves count in second line.

    https://prnt.sc/vjj1tt

    Here is the CSS I am using.

    .slideout-widget.woocommerce ul li:not(.chosen):not(.select2-search) {
        line-height: 2em;
        display: grid;
        grid-template-columns: 0 90% 10%;
    }
    .slideout-navigation .slideout-widget ul.product-categories li {
        grid-template-columns: 90% 10%;
    }
    
    .slideout-widget {
        border-top: 1px solid #ccc;
        padding-top: 1em;
    }
    #1532579
    Tom
    Lead Developer
    Lead Developer

    Try adding this:

    .slideout-navigation .woocommerce-widget-layered-nav-list__item a {
        display: inline-block;
    }
    #1534896
    roadlink

    thx Tom, solved like this https://prnt.sc/vkv1am

    #1535031
    Tom
    Lead Developer
    Lead Developer

    Awesome 🙂

Viewing 11 posts - 16 through 26 (of 26 total)
  • You must be logged in to reply to this topic.