10 February 2019 at 23:06 #31342GiollaParticipant
Is it possible to add more than 6 columns in the product thumbnail gallery? No matter how high i set this in the grid or masonary settings it maxes at 6. I would like to have 10 or maybe more and just have them smaller.
hopefully thanks in advance
Gil22 April 2020 at 01:07 #38708Rob StrachanParticipant
Yes you can, to change the Maximum number of columns you will need to edit a few lines of the Plugins .php Scripts. You can access these files either through an FTP Client (e.g. Filezilla) or a WordPress plugin (e.g. WP File Manager)
SETTING THE TOTAL MAXIMUM NUMBER OF COLUMNS
This line you need to edit is located in ‘class-frontend.php’ at line 613, simply change the Max value to whatever you want (the current default is set to 12).
Line 613: ‘max’ => 12
SETTING THE MAXIMUM NUMBER OF COLUMNS FOR EACH INDIVIDUAL SCREEN WIDTH
there are 8 max values to change here, personally I’d just set all the max values here to be the same as what you’ve set above.
Line 516: ‘max’ => 6,
Line 522: ‘max’ => 6,
Line 528: ‘max’ => 6,
Line 534: ‘max’ => 6,
Line 792: ‘max’ => 6,
Line 799: ‘max’ => 6,
Line 806: ‘max’ => 6,
Line 813: ‘max’ => 6,
Just save your edits or re-upload the files depending on how your editing them and that is it, you’ll be able to set your galleries to your new max values.
- You must be logged in to reply to this topic.
hide the flip and rotate buttons
5 days, 4 hours ago
Inline Gallery does not work.
by haoxin li
1 week ago
Get download link
1 week, 2 days ago
1 week, 5 days ago
how to fix this code (?cn-reloaded=1) added to url end
59 minutes ago
LIghtbox does not work
2 weeks, 5 days ago
Watermark on scaled, cropped or rotated image
2 weeks, 6 days ago
Front end user uploaded file to post not showing up in attachments
2 weeks, 4 days ago
Error when using Shortcode
3 weeks, 3 days ago
Showing 2 Million Views on the dashboard an only 10k Views on Website?
3 weeks, 4 days ago