I am having trouble with the Image Grid element on certain screen sizes. It is currently set to full width with masonry turned on. On some sized screens, around 14-17 inches, the gallery sets to 2 columns with a large gap on the right hand side.
Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
@media only screen and (min-width: 1300px) and (max-width: 1600px){
body .portfolio-items .col.elastic-portfolio-item.wide,body .portfolio-items .col.elastic-portfolio-item.wide_tall {
width: calc( 50% - 10px )!important;
}
}
Hi,
I am having trouble with the Image Grid element on certain screen sizes. It is currently set to full width with masonry turned on. On some sized screens, around 14-17 inches, the gallery sets to 2 columns with a large gap on the right hand side.
This can be seen here - https://screenfly.org/#u=https%3A//will-bailey-photography.onyx-sites.io/sports-photography/&w=1600&h=900&a=1&s=1
Is there a way to stop this gap from appearing on all screen sizes?
Thanks,
Will
Attached files: Screenshot 2023-03-16 at 19.55.56.png
Hey Again,
Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
Thanks
ThemeNectar Support Team
Hi Tahir,
That seems to be working perfectly now. Thanks for your help!