Comments James started the conversationJuly 8, 2019 at 4:33amCurrently the portfolio page has two columns of items is it possible to change that to have three or four columns? 1,973Support repliedJuly 8, 2019 at 6:35pmHello James,you can customize the sizing of the packery masonry portfolio grid by opening /js/scripts.jsand in function Portfolio(){ ... }you will have the grid initialization:var $container = $('#portfolio').packery({ itemSelector: '.item', gutter:0, transitionDuration: "0.5s" });https://packery.metafizzy.co/options.htmlThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support PolicyJames repliedJuly 9, 2019 at 12:00amI have updated the /js/scripts.js file to be var $container = $('#portfolio').packery({ itemSelector: '.item', gutter:0, percentPosition: true, columnWidth: 60, transitionDuration: "0.5s" });But no change has occurred, do I have to update CSS also? 1,973Support repliedJuly 9, 2019 at 6:03amHi James,plz open /css/portfolio.css and look for.item { display: block; position: relative; box-sizing: border-box; z-index: 0; width: calc(50% - 40px); height: 28vw; margin: 50px 20px;}as I don't think you need styles for wide itemsThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support PolicyJames repliedJuly 9, 2019 at 6:14amThis hasn't worked, could you please try it yourself and let me know the correct answer please. 1,973Support repliedJuly 9, 2019 at 2:34pmHi Jamestry modifying directly in /css/portfolio.cssfor 3 columns.item { ... width: calc(33.33% - 40px); height: 18vw; ...}for 4 columns.item { ... width: calc(25% - 40px); height: 14vw; ...}you may need to change the styles in responsive media breakpoints in the same file @media only screen and (max-width: 767px) { ... }Thank you. Clapat Support https://www.clapat.com/ Review Envato Item Support Policycharles dyve repliedDecember 10, 2019 at 11:35amhello, I want 3 columns, so I followed your instruction: I opened : /css/portfolio.cssand I changed with.grid-portfolio .item { ... width: calc(33.33% - 40px); height: 18vw; ... }+ @media only screen and (max-width: 767px) {but still 2 column. can you help? 1,973Support repliedDecember 10, 2019 at 4:58pmHi, we need to inspect the portfolio page, if possibleThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support Policycharles dyve repliedDecember 11, 2019 at 5:12pmsorry, I did a mistake. I am using the theme munio and did this change which concern the template Satellite... 1,973Support repliedDecember 13, 2019 at 8:36amOk, closing this ticketThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support Policy Sign in to reply ...
Currently the portfolio page has two columns of items is it possible to change that to have three or four columns?
Hello James,
you can customize the sizing of the packery masonry portfolio grid by opening /js/scripts.js
and in function Portfolio(){ ... }
you will have the grid initialization:
var $container = $('#portfolio').packery({
itemSelector: '.item',
gutter:0,
transitionDuration: "0.5s"
});
https://packery.metafizzy.co/options.html
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
I have updated the /js/scripts.js file to be
But no change has occurred, do I have to update CSS also?
Hi James,
plz open /css/portfolio.css and look for
.item {
display: block;
position: relative;
box-sizing: border-box;
z-index: 0;
width: calc(50% - 40px);
height: 28vw;
margin: 50px 20px;
}
as I don't think you need styles for wide items
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
This hasn't worked, could you please try it yourself and let me know the correct answer please.
Hi James
try modifying directly in /css/portfolio.css
for 3 columns
.item {
...
width: calc(33.33% - 40px);
height: 18vw;
...
}
for 4 columns
.item {
...
width: calc(25% - 40px);
height: 14vw;
...
}
you may need to change the styles in responsive media breakpoints in the same file
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
hello,
I want 3 columns, so I followed your instruction:
I opened : /css/portfolio.css
and I changed with
.grid-portfolio .item {
...
width: calc(33.33% - 40px);
height: 18vw;
...
}
+
but still 2 column. can you help?
Hi,
we need to inspect the portfolio page, if possible
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
sorry, I did a mistake. I am using the theme munio and did this change which concern the template Satellite...
Ok, closing this ticket
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy