-
AuthorPosts
-
February 26, 2018 at 12:28 am #917617
Hi,
On the homepage of my site, if you scroll down, you’ll see the grid containing Art gifts, indoor art & outdoor art. Each of those grid rows contains a woo commerce slider that should be showing 2 products on a single row, and it did when I first put it in there, but recently one or more of the sliders jump to be two rows deep which just looks naf.
I’m not sure if its a woo thing or a theme thing or some custom css I’ve added but its stumping me as to why its happening.
I’ve tried
Swapping from grid rows to columns, no change.
Using a product grid instead but the first row of the grid also gets messed up – other rows show two columns together in each cell but the first row only shows one product.
Deactivating all plugins except wooI’d appreciate any insight you may have
Cheers
February 26, 2018 at 1:14 am #917621Hi
I just created a staging site for the live one mentioned above, will put login link belowFebruary 26, 2018 at 9:46 am #917712Hi simplicityltd,
Here is a thread for you to consider
If you need further assistance please let us know.
Best regards,
VictoriaFebruary 26, 2018 at 11:38 pm #918088Hi,
Thanks fro that but alas, while I understand the thread, I’ve tried adding that line into the file at 402 and a few other places around there, but it keeps breaking the site.
I’m afraid php isn’t a forte of mine. could you please show me where it needs to go?
Can I put a copy of the productslider.php with this extra line into my childtheme folder or do I have to edit the original?Cheers
February 27, 2018 at 8:22 am #918267Hi,
Yes, we would suggest using a child theme, to override the productslider in the parent theme, please refer to this post: https://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/
Hope this helps :)Best regards,
NikkoFebruary 27, 2018 at 9:30 pm #918643That’s great, thanks, but can you please show me, with a code snippet, exactly where I need to put the loop reset mentioned in the post you referred to? Every time I try, the site breaks, so I’m obvioisly missing something.
Thanks
February 27, 2018 at 11:10 pm #918708Hi,
Try adding the snippet to the very bottom of functions.php.
Best regards,
Jordan ShannonFebruary 28, 2018 at 12:06 am #918736Hi,
The thread you guys linked me to earlier in this one talks of a specific line of code to be added into productslider.php around line 402.
I’ve tried this but it hasn’t worked as I’m assuming I’ve added it wrong. Could you please refer to the thread you have referred me too, then show me exactly how to add the code they talk about in order to fix the problem in your product slider.Thank you
March 1, 2018 at 10:41 am #919521Hi,
Please add the reset before line 436. Above this line of code.
wp_reset_query();
Or post the login details in the private field so that we can test it.
Best regards,
IsmaelMarch 1, 2018 at 11:16 am #919540This reply has been marked as private.March 1, 2018 at 12:01 pm #919573Hi,
Thank you for the update. Are you sure that these are the correct login details? I can connect but there’s no directory or it’s timing out.
Best regards,
IsmaelMarch 1, 2018 at 10:52 pm #919996Yes mate, they are correct. You’ll be connected to the root staging folder. Go into the following directory
/1/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes
there is a childtheme there if you want to create the change in there so I can just copy it across to the live site?
Not sure why there is a timeout, its working fine for me
Cheers
- This reply was modified 6 years, 8 months ago by simplicityltd.
March 2, 2018 at 11:09 am #920219Hi!
I’m sorry but I can’t connect to your server. Is there some kind of security block? Maybe, my country or ip is blocked. You can find our locations here.
Cheers!
IsmaelMarch 2, 2018 at 11:33 am #920232Can you either give me your IP so I can check if its blocked or just edit a new copy of the file which is part of your theme and send it to me to use?
March 2, 2018 at 12:04 pm #920263 -
AuthorPosts
- You must be logged in to reply to this topic.