- This topic has 1 reply, 2 voices, and was last updated 8 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
	
Viewing 2 posts - 1 through 2 (of 2 total)
	
- You must be logged in to reply to this topic.


Home › Forums › Pro Themes › Photo Perfect Pro › Photos in gallery
Hello!
How to reduce the spacing between photos in the gallery? I would like them to close fit with each other – http://mikhailpetrov.ru/portfolio/commercial/
Is that possible?
Hello @mikwalrus,
The Photo Perfect Pro theme already has necessary Styles implemented for the gallery images when the images same size ( landscape/ portrait ) images are used in the gallery. However, in the page you have provided the link to, the uneven image sizes are creating extra spacing between the images.
You can use the following custom CSS targeted specially for the gallery in your page in your Admin Dashboard > Appearance > Customize > Additional CSS to decrease the spacing and better align the images in the gallery :
.galleryid-369{
    margin-bottom: 15px;
    text-align: center;
}
.galleryid-369 .gallery-item {
    width: 17%;
}Hope this Helps,
Best Regards !!
| Cookie | Duration | Description | 
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". | 
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". | 
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". | 
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. | 
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". | 
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. | 
 
	    


