- This topic has 6 replies, 2 voices, and was last updated 10 years, 2 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › WP Photo Seller – masonry thumbnail display on PC
Tagged: WP Photo Seller
Hi,
When I view a created photo gallery on my site via a pc (tested on chrome and firefox – 3 different computers) and whilst template 7 for the thumbnails (masonry), the thumbnails will only display 2 columns wide. On mobile, they display 3 wide. Is there anywhere to adjust the code to fix this? Maybe the scaling isn’t interacting with my theme properly (using the WordPress 2011 theme).
page link: [http://gregirvin.com/wpsite/photogallery/gallery1/]
password: test
Thanks,
Greg
Just for a test, what happens if you switch to 2012 or 2013 theme?
It displays properly on 2013 theme….
2012 actually shows 3 columns fine. It is just 2011 that can’t show it (2011’s framework is a little outdated now). I can give you a small tweak for this. Will you be okay to apply a small code tweak if I tell you want to modify?
definitely, fire away. Just tell me which file to edit.
okay, open the following file to edit:
wp-photo-seller/views/photo/template-7/gallery-template-7.php
Search for the following line in that file:
columnWidth: 50,
Once you find it, replace it with the following:
columnWidth: 30,
Thanks! It worked a treat.