- This topic has 7 replies, 3 voices, and was last updated 2 years, 7 months ago by
Leo.
-
AuthorPosts
-
October 15, 2020 at 10:13 am #1490808
melvin wang
Hi,
After read and check your support forum, I’ve added Woo widget – filter by product attribute (Hotel Ratings) to the off canvas widget, display type i chose drop down as below
Problem in off canvas:
When i click the dropdown, it doesn’t work.I then test the same widget on sidebar, and it work.
Q1. Could you advice me how to make the woo widget filter-by-attribute-dropdown-layout works in off-canvas ?
Q2. For off-canvas at Shop & Category Archives, I would like the widget to stay on top of the primary navigation menu. What’s the code I’ve to use in hook element?
Q3. If I wanted to hide the primary navigation menu in Shop & Category Archives, may i know what’s the code I should use?
TQ
Regards,
Melvin WangOctober 15, 2020 at 2:55 pm #1491116Tom
Lead DeveloperLead DeveloperHi there,
1. Try this CSS:
.select2-container--open { z-index: 999999; }
2. This should do it:
.woocommerce-widget-layered-nav { order: -10; }
3. You could use our Disable Elements module along with the Elements module: https://docs.generatepress.com/article/layout-element-overview/
Let us know if you need more info ๐
October 15, 2020 at 9:09 pm #1491348melvin wang
Hi Tom,
Thanks for your quick response.
`.woocommerce-widget-layered-nav {
order: -10;
}`This works well. Asides, I’ve inserted the code to widget filter-by-price, so i try added this code.
.woocommerce-widget-layered-nav, .woocommerce-widget-price-filter { order: -10;
However the price filter still stay below
P/s: sample page in private information.
Q1: Maybe my css isn’t correct? Could you please advice what’s the correct css?
You could use our Disable Elements module along with the Elements module: https://docs.generatepress.com/article/layout-element-overview/
I’ve tested this, it works. However it was my fault that didn’t clearly state my objective haha.
I would want hide the menu in Off-Canvas at Shop & Category Archives. But not the whole primary navigation.Q2. May i know how to hide the menu in Off-Canvas at Shop & Category Archives
Thank you Tom.
Regards,
MelvinOctober 16, 2020 at 9:46 am #1492280Tom
Lead DeveloperLead DeveloperTry this:
.widget_price_filter { order: -9; }
1. Where are you wanting it to display?
2. Try this:
.woocommerce .slideout-navigation .main-nav { display: none; }
October 16, 2020 at 10:53 am #1492396melvin wang
Hi Tom,
Thanks for the kind response.
`.woocommerce .slideout-navigation .main-nav {
display: none;
}`I tested this code, it works to hide primary menu in off-canvas on Woo – shop page, category archieves, Tag Archieves and single-product.
Could it possibly not to hide on woocommerce single-product?
Thank you
Regards,
MelvinOctober 16, 2020 at 2:55 pm #1492576Leo
StaffCustomer SupportTry this instead:
.woocommerce:not(.single-product) .slideout-navigation .main-nav { display: none; }
October 17, 2020 at 3:55 am #1492951melvin wang
Thanks Leo, it works.
Appreciate it
Regards,
MelvinOctober 17, 2020 at 9:51 am #1493432Leo
StaffCustomer SupportNo problem ๐
-
AuthorPosts
- You must be logged in to reply to this topic.