- This topic has 6 replies, 2 voices, and was last updated 8 years, 1 month ago by MaksymPS.
-
AuthorPosts
-
February 25, 2016 at 2:13 am #175101MaksymPS
Hi Tom,
How to fix next proplem?
If you have on your site a WooCommerce and enabled Blog Masonry or Blog Columns, you’ll get the result from searching (by YITH WooCommerce Ajax Product Search) like here.Once I wrote you, and you gave me the code:
add_filter('generate_blog_masonry','generate_woocommerce_search_masonry'); function generate_woocommerce_search_masonry() { if ( is_search() && is_woocommerce() ) return 'false'; // Otherwise, disable it return 'true'; }
But it doesn’t work. I mean, it works, but makes the opposite (blog become smaller, the search result bacome normal).
I just wanna use as Blog Masonry as WooCommerce search result.
Extra question #1:
How to make the menu as yours on this site? I mean when you at the top – it is big and with full logo, when you go lower, it becomes smaller.Extra question #2:
Maybe you know, how to make smoth scrolling like here All I know is that is JS plugin (script). And I can’t understand how ti use it and where I have to put it.Thanks a lot, Tom!
Best regards πFebruary 25, 2016 at 11:50 am #175193TomLead DeveloperLead DeveloperHi there,
So you’re wanting WooCommerce and your search template to have masonry enabled?
1. This site is using our Menu Plus add-on for the menu functionality.
2. I’m not sure what you mean by smooth scrolling? Have you asked the creator of that site?February 25, 2016 at 1:09 pm #175209MaksymPSYes, I want that Blog Masonry was enabled in my blog and search result in YITH WooCommerce Ajax Product Search was Ok.
You can try it in your test GP: just enable Blog Masonry and use YITH WooCommerce Ajax Product Search and see the result with few products. It displays incorrectly.1. Thanks, I will try π
2. No, I haven’t. I’ll try to connect to him (I was thinking that you know).February 25, 2016 at 11:06 pm #175358TomLead DeveloperLead DeveloperI’ll test that and will let you know π
February 26, 2016 at 2:28 pm #175557MaksymPS– – – Update – – –
So, Tom, did you test?)
February 26, 2016 at 10:37 pm #175627TomLead DeveloperLead DeveloperAh, the way WooCommerce displays products makes it so masonry won’t work without a custom page template.
In the next version of GP Premium/Blog I have masonry turned off for search results in WooCommerce.
I can send you the latest version if you email me at support@generatepress.com.
Let me know π
February 27, 2016 at 7:09 am #175675MaksymPSOk, thanks a lot Tom!
I’ve just sent you a letter πIn waiting the latest version π
Best regards!
-
AuthorPosts
- You must be logged in to reply to this topic.