Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › photo seller – masonry template 7 displaying as 1 column
- This topic has 5 replies, 3 voices, and was last updated 8 years, 4 months ago by admin.
-
AuthorPosts
-
June 6, 2016 at 1:33 pm #13519kennydowukMember
Hi,
As in the title template 7 only displays as a single column as can be seen on
[http://ellamentary.principledigital.com/?page_id=659]
it works fine with both 2015 and 2016 themes so i know it is my theme to blame. I was wondering if you had an idea of where the clash could be, im fairly well versed in wordpress but diagnosing issues like these is beyond me.
Im running the latest wordpress version at time of posting and all themes and plugins are up to date.
Thanks
June 7, 2016 at 1:40 am #73366PeterMemberHi,
I took a look at your page with chrome developer tools and I wasn’t immediately able to identify the cause of the issue.
But I do see “why” your gallery page is displaying the way it is. Basically the masonry javascript code is meant to do some calculations and add some inline CSS code which sets position, left and top attributes for each “wpps-t7-item” div which contains each thumbnail. But in your case this is not happening. As you’ve already surmised, it is your theme but at this stage I don’t know why.
Out of curiosity – have you tried one of the other masonry templates to see if they work?
June 7, 2016 at 5:46 am #73367adminKeymasterIt seems like your theme is laoding the page using AJAX which would cause some issue if it doesn’t execute all the standard JS triggers (that other JS script is relying on). The masonry style can’t work if it doesn’t receive the page loaded trigger.
Please do the following theme test so we know for sure:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
June 10, 2016 at 8:50 am #73368kennydowukMemberRan theme check, but if im honest im not sure what im looking at or looking for.
The output is as follows:
[removed the theme errors after checking it]
June 10, 2016 at 8:54 am #73369kennydowukMemberI should have added the site has now moved from the test domain, the page in question is at
[http://www.ellamentary.co.uk/?page_id=870]
June 11, 2016 at 3:51 am #73370adminKeymasterYou are looking for no errors to show from your theme’s test. At least not the one that start with “Required” or “Warning”.
Your theme has a LOT of errors. You can ignore some of theme but if one of those errors are breaking the JavaScript/JQuery functionality of your site then the masonry style won’t work correct. That style uses a JavaScript library.
Switch your theme (temporarily) to any of the WordPress default theme then check your gallery page. We know for sure that the WordPress default themes were developed by good developers and doesn’t have bad errors. This will confirm if your theme indeed is breaking the masonry style’s JavaScript execution.
-
AuthorPosts
- You must be logged in to reply to this topic.