- This topic has 25 replies, 4 voices, and was last updated 3 years, 5 months ago by Tom.
-
AuthorPosts
-
October 26, 2020 at 9:53 am #1505077roadlink
Hello,
I use Prime template from site library.My sidebar and product filters goes bottom of the page in mobile.
Can I make a button to click and open sidebar like Slideout menu?October 26, 2020 at 10:48 am #1505133LeoStaffCustomer SupportHi there,
Are you using the off canvas navigation?
If so you can try adding a product filter widget in the off canvas widget area:
https://docs.generatepress.com/article/off-canvas-panel-overview/#off-canvas-panel-widget-areaOctober 26, 2020 at 12:18 pm #1505230roadlinkHi Leo,
I want to see them in desktop resolution.
Will they be seen if I put them in off canvas?October 27, 2020 at 7:51 am #1506502DavidStaffCustomer SupportHi there,
you would have to include the filter widgets in the sidebar as well.
We can then provide some CSS to hide them on Mobile.October 29, 2020 at 6:52 am #1509220roadlinkHello David,
Thanks for suggestion.I guess no need to add same content twice.
I decided to try the method from niche theme (site library)But I couldn’t success to have similar results. If you have time, can you check where is my mistake?
I follow the instructions from here. https://gpsites.co/niche/how-the-shop-was-made/#more-349
1. “Hook #1 – Woocommerce Shop Category Menu.”
I didn’t do it because I have too many categories. It become too crowded.2. “Hook #2 – Woo Shop Filter and Breadcrumb”
I have added 2 functions like this;
https://prnt.sc/v9eqe3
https://prntscr.com/v9eqe3Then I have added CSS like this;
https://prnt.sc/v9esa6Result part;
1. I still have the menu (off-canvas menu) on desktop too. while niche theme doesn’t have.
https://prnt.sc/v9faz62. Filters are not seen properly.
2.a Numbers stays in another line.
2.b. If I added an attribute filter in dropdown mode, options can’t be seen.
https://prnt.sc/v9faz63. I couldn’t manage to have similar looking like in here.
https://prnt.sc/v9f158
https://prnt.sc/v9f3cuOctober 29, 2020 at 1:00 pm #1510097DavidStaffCustomer Support1. To remove the menu from the Desktop Off Canvas you would use this CSS:
@media (min-width: 768px) { .slideout-navigation .main-nav { display: none; } }
2, Did you resolve these issues?
3. For the Filter Toggle to display correct when using SVG Icons you need to replace this:
<span class="slideout-toggle woo-filter-toggle hide-on-mobile"><a href="#">FILTER</a></span>
with this:
<?php $icon = ''; if ( function_exists( 'generate_get_svg_icon') ) { $icon = generate_get_svg_icon( 'menu-bars' ); } ?> <span class="slideout-toggle woo-filter-toggle hide-on-mobile has-svg-icon"><a href="#"><?php echo $icon; ?> FILTER</a></span>
October 29, 2020 at 2:12 pm #1510175roadlinkDear David,
Thanks a lot for support.
1 and 3 worked great. Thanks again.
2.a solved by this code. Sorry I missed that in advance. https://gpsites.co/niche/off-canvas-panel/#more-367
2.b is still there. When I add dropdown filter, I can’t see the attributes.4. I see the category name in the top. I tried this css but couldn’t increase font size and also uppercase. https://prnt.sc/v9owry
.woocommerce-products-header { padding: 20px; height: 60px; background-color: #092143; text-transform: uppercase !important; text-align: center; font-size: 50px !important; font-weight: 500; color: #ffffff; }
October 29, 2020 at 4:24 pm #1510300DavidStaffCustomer Support2b. Did you resolve this – found one attribute and the count number is inline?
4. Use this CSS to size and style the H1
.woocommerce-products-header h1 { font-size: 50px; text-transform: uppercase; }
October 30, 2020 at 6:56 am #1510873roadlinkHello David,
Thanks.
4. Will this CSS change other H1’s in the site?
2b. This is related with dropdown style attributes. https://prnt.sc/va51wa
We can’t see them when they are dropdown.
but list style is working.5. Selected filters are on top of each other. Do you have any suggestion? https://prnt.sc/va51wa
October 30, 2020 at 7:45 am #1510955DavidStaffCustomer Support4. No it will only apply to the H1 displayed on the product archives.
I can’t access your site ? Can you check the URL
October 30, 2020 at 8:07 am #1511244roadlinkHi,
Added again.
thanksOctober 31, 2020 at 4:10 am #1512059DavidStaffCustomer SupportSorry – but none of us are able to access that link, the login is coming back invalid.
October 31, 2020 at 9:40 am #1512582roadlinkIt is weird, I have created another password and tried in different browser.
It worked.Can you try again?
November 1, 2020 at 5:24 am #1513282DavidStaffCustomer SupportYou have add this CSS:
.slideout-widget.woocommerce ul li { line-height: 2em; display: grid; grid-template-columns: 0 90% 10%; }
Change it to:
.slideout-widget.woocommerce ul li:not(.chosen):not(.select2-search) { line-height: 2em; display: grid; grid-template-columns: 0 90% 10%; }
November 2, 2020 at 10:33 pm #1515589roadlinkThank you, I solved selected filters issue.
But dropdown problem is still there. Any idea?Thanks
-
AuthorPosts
- You must be logged in to reply to this topic.