• 0

DMS 2 Masonic Gallery 4 column rather than 2?


Question

Posted · Report post

Any idea how you can achieve the four column Masonic Gallery that you see on DMS 2 is here! post on pagelines.com?

 

[attachment=2096:masonary.JPG]

 

I presume that requires a change to the php? 

 

I see this in the pl.masonic.js

 

if( windowWidth >= 1600 ){
numCols = 5
} else if ( windowWidth >= 1300 ){
numCols = 4
} else if ( windowWidth >= 990 ){
numCols = 3
} else if ( windowWidth >= 470 ){
numCols = 2
} else {
numCols = 1
}
 so shouldnt it default to more on larger screens?

Share this post


Link to post
Share on other sites

11 answers to this question

  • 0

Posted · Report post

Sorry i meant to add - i did see the link and do see four columns. http://screencast.com/t/RWQhnPNxxAcg

 

Are you zoomed in on your browser? 

1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

How is this showing on your site? by default i can get it to show 4 wide. Can we have a link please? 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Martin Davies Tried on a couple of sites and decided I didnt like the two column look! (sorry edited post as you replied!)

 

Here is a page with it on... ignore the fact that there are few featured images as I am slowly building this site (although live) to replace another

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

The same can be said of pagelines examples on the Demo Tour for the masonic blog etc. Only showing two columns even when viewing the full width examples

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

what is the width of your browser? 

 

Standard width browsers are showing four columns for myself http://screencast.com/t/9IM0gnlU

 

Trying to understand how you are seeing two 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Browser is 1600px... how very odd? Looked in Chrome, Firefox, Safari and IE as it did occur it might be that.

 

Did you look at the site and see if it was showing four too?

 

They always start showing four for a brief moment before re-aligning to two with obvious white space

 

[attachment=2098:Cotswold Hunt Pony Club Masonic.jpg]

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Martin Davies That is ridiculous. So like any normal person I have it at 100%....

50%... five tiles/columns

67%... 2

75%...5

90%... 2

100%...2

110%...4

125%...3

150%...3

175%...2

 

WTF is going on! Thanks for the heads up on my wonky browsers and will make things a bit easier from now on  :D

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

So is this now resolveD? 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Martin Davies. It is.... not that it explains the very odd behaviour of chrome! In firefox it displays 2 until I get to 110%, the  I get 4 and in IE have to wait to get to 125% to get to 4 from the lower 2

 

Feel a bit of an idiot of not thinking laterally that zooming in would give me a better view? Who would have thought it

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Occams Razoy ;) The simplest solution is usually the best. Although, it's the simplest things we never think of. 

 

It's not a problem - and that is some very odd behaviour.. 

 

Things to try = Disable browser extensions / plugins

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Tried disabling them, but seems to make no difference... Just view at 110% from now onwards :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now