- This topic has 5 replies, 2 voices, and was last updated 3 years, 1 month ago by Sami.
- April 22, 2017 at 6:21 pm #17589
Hi and thanks for this plugin.
Is it possible to increase the gutter width ?
You have set a margin of 5px (default theme), which gives a gutter of 10px between columns.
I am working with 3 columns, but my designer wants a gutter between columns of about 30px, and we also need the page to be fully justified so that there is no margin to left of first column and no margin to right of third column. So for a 960px container the absolute left positions would need to be 0, 330 and 660 with a column width of 300px.
I can achieve the column width by setting a width on .wmle_item of 93.75 % (300 / 320).
But my question is where can I override the current absolute left positions of 0, 320 and 640 ?
Where are they calculated and added to the document ?
Conor MaxwellApril 24, 2017 at 5:26 pm #17601Masonry GuyKeymaster
Ya, you can increase the gutter width. For that please go to Masonry > Layouts and from there next to the layout theme, click on Edit settings. You can increase the margin from there. However, you can’t set no margin for left and right column with it.
ThanksApril 24, 2017 at 5:37 pm #17602
Thank you for such a quick response.
If it’s easy to answer can you tell me what JS file is it that calculates the absolute position ?
If that’s not an easy answer, then just say so.
It’s a great plugin by the way. Looks very nice.
ConorApril 25, 2017 at 4:48 pm #17619Masonry GuyKeymaster
The Js comes from WordPress bundled js file. It is available in this folder wp-includes/js/.
ThanksApril 25, 2017 at 5:16 pm #17620
Thanks again Guy for quick response.
I will investigate the JS and if I can see an easy answer to justifying the columns left and right with bigger gutter in between I will let you know.
ConorMay 31, 2017 at 10:30 am #18026SamiGuest
I’d like to change the margin size on the Default layout – but I don’t have the Margin option.
I see some of the other layouts do have “Spacve between the box” options.