Alanthearchitect Posted November 10, 2022 Posted November 10, 2022 Hello, I'm building my first site and am currently trying to set a clean and even visual spacing on a page. I specifically want a smaller spacing in an image gallery section that increases the top and bottom spacing around it (not sure if margin or padding) when I modify the overall site margin. I want a large site margin but not such a big margin around the gallery itself which is currently creating a huge gap to my text. I've tried to visit other forum posts and apply posted CSS codes for similar problems but I could not see any improvement, probably because the site margin is what I need to override in the section? not sure. Any help on this issue and an explanation for how to set spacing independently from the site margin would be appreciated. Cheers 🙂
Alanthearchitect Posted November 10, 2022 Author Posted November 10, 2022 By the way, the password for the site is "helloarchitect"
tuanphan Posted November 11, 2022 Posted November 11, 2022 10 hours ago, Alanthearchitect said: By the way, the password for the site is "helloarchitect" But, what is your site url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Alanthearchitect Posted November 11, 2022 Author Posted November 11, 2022 Hello! sorry I'm new to the forum so I supposed the URL would be included in the post. The page I'm referring to is: https://alaneskildsen.com/example-project
Solution tuanphan Posted November 12, 2022 Solution Posted November 12, 2022 Try adding this to Design > Custom CSS to reduce spacing .gallery-slideshow { padding-top: 20px !important; padding-bottom: 20px !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Alanthearchitect Posted November 12, 2022 Author Posted November 12, 2022 Thank you, the code you posted worked for what I needed.
Alanthearchitect Posted November 12, 2022 Author Posted November 12, 2022 One more question regarding this site, I'm trying to do the same but for the page on this specific URL https://alaneskildsen.com/work/architecture-projects In this case it is a different kind of gallery, and want to reduce the bottom and top margin/padding of the grid gallery as well.
tuanphan Posted November 14, 2022 Posted November 14, 2022 On 11/12/2022 at 11:56 PM, Alanthearchitect said: One more question regarding this site, I'm trying to do the same but for the page on this specific URL https://alaneskildsen.com/work/architecture-projects In this case it is a different kind of gallery, and want to reduce the bottom and top margin/padding of the grid gallery as well. Hi. Use this code .gallery-grid.gallery-grid--layout-grid { padding-top: 0px; padding-bottom: 0px; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Denz Posted October 19, 2023 Posted October 19, 2023 Hi, I need help with a slideshow issue please. When I create a slideshow with sizing 'full' the images are too large for desktop and mobile but look correct for laptop. Is there a way to ensure I get the full image (not cropped) and consistent over those three breakpoints? I'm guessing I have to adjust the CSS code? Any help is HUGELY appreciated. Thanks, Denni
tuanphan Posted October 21, 2023 Posted October 21, 2023 On 10/19/2023 at 8:36 PM, Denz said: Hi, I need help with a slideshow issue please. When I create a slideshow with sizing 'full' the images are too large for desktop and mobile but look correct for laptop. Is there a way to ensure I get the full image (not cropped) and consistent over those three breakpoints? I'm guessing I have to adjust the CSS code? Any help is HUGELY appreciated. Thanks, Denni What is site url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment