margin pw-gallery to max-width Posted in : Photographer masterchi3fParticipant 31 March 2015 at 12:30 #21270 Hello, I’d like to edit the portfolio style width fitting to the width of the main page .layout-full, .layout-fixed, .layout-medium { max-width: 1060px; width:80%; margin-left: auto; margin-right: auto; clear: both; } .layout-fixed { max-width: 1060px; } .layout-medium { max-width: 1060px; } I changed the .pw-collage to .gallery-single .gallery { margin: 0 auto; } .pw-collage { margin-left: 0px; margin-right: 0px; padding: 15px; padding-top: 0; font-size: 0; } but theres still a margin on the left and right. screenshot: http://postimg.org/image/bupor7oyt/full/ http://postimg.org/image/jm6eprt45/full/ I hope you can help me out to solve this problem on the desktop and mobile view. thank you very much in advance. kind regards ahmetsaliKeymaster 1 April 2015 at 17:10 #21305 Hi, try this custom css; @media screen and (min-width: 768px) { .media-grid-wrap { margin-left: -1.5%; } } masterchi3fParticipant 26 May 2015 at 13:55 #22554 Thank you very much! That worked very well. Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in and have valid license to reply to this topic. License required for the following item Photographer WordPress Themeby pixelwars Login and Registration Log in · Register