-
-
Hello,
after the last update of the theme the are a lot of problem with alignment of products like this
on this pages:
https://www.dcmstampa.it/led-display/
https://www.dcmstampa.it/supporti-rigidi/
https://www.dcmstampa.it/supporti-flessibili/
there must be 4 column alignment.
Let me know how can I solve this bug
-
Hello,
Please go to file woocommerce/content-product.php and find these lines:
if ( 0 === ( $woocommerce_loop['loop'] - 1 ) % $woocommerce_loop['columns'] || 1 === $woocommerce_loop['columns'] ) { $classes[] = 'first'; }
Replace with this:
if ( 0 === ( $woocommerce_loop['loop'] ) % $woocommerce_loop['columns'] || 1 === $woocommerce_loop['columns'] ) { $classes[] = 'first'; }
Let us know.
Best regards!
- This reply was modified 8 years, 4 months ago by Mirela.
-
-
Hello,
Sorry for the late reply.
Can you please send us your ftp credentials in a private reply? So we can do this for you.Best regards!
-
-
Hello,
The login issue is not due to the last changes. They are not connected to it. Perhaps a newly installed plugin gave the issue or you may have corrupted wordpress files in your server.
I suggest you to go to your plugins folder using ftp. And rename all plugins. This should deactivate them all. If you manage to login then one of you plugins was the issue. Rename back to original and activate one at a time to find the culprit.
Do the same with theme, rename it and try again.
Another reason could be the database. the lack of disk space can cause some database corruption. If it is damaged then you will need to perform a database repair operation. Contact your host regarding it.
Please read this article for more detailed information.
Let us know.Best regards!
-
ok, I gonna try it.
And what about the first problem?
-
Hello,
Please update theme. This issue is fixed in the recent update.
Best regards!
-
I already have the last version of the theme 1.8.1
-
Hello,
Can you please be more clear? What issue are you referring to? The product alignment is already fixed in the last update. And i already replied you concerning login issue.
Best regards!
-
Hello,
I have the last update of the theme, but the alignment problem doesn’t change.
The login problem I have solved. It was a database corruption.
-
Hello,
We will double check it and upload a new theme update if necessary. In the mean time i have made the changes to your woocommerce/content-products.php file. Please check your site.
Best regards!
-
-
Hello,
I edited this line in file woocommerce/content-products.php,
if ( 0 === ($woocommerce_loop['loop'] + 1) % $woocommerce_loop['columns'] ) {
to this:
if ( 0 === ($woocommerce_loop['loop'] - 1) % $woocommerce_loop['columns'] ) {
Also i added this code into your custom css box:
.woocommerce ul.products li.last, .woocommerce-page ul.products li.last { margin-right: 20px !important; }
The products space in these pages, is ok now.
2-Please use 4 column for the time being. We will fix this in th enext theme update.
Thank you for your cooperation.Best regards!
-
You must be logged in to reply to this topic.