afs242 Posted November 16, 2023 Share Posted November 16, 2023 (edited) Using Brine 7.0 On website the content section section padding is site through site styles and looks fine. (Note green arrow on 1st photo) However on mobile there is a huge white space. (Note red arrow on 2nd photo) Is the css to get rid of that white gap on mobile? page is found at https://www.raehcollection.com/shop/wana-earring-threader Edited November 16, 2023 by afs242 added info Link to comment
afs242 Posted November 18, 2023 Author Share Posted November 18, 2023 (edited) After inspecting the coding in mobile view it looks like there is 17px of padding on block's last-child and the first child (see attached image). I've targeted that block but the white still won't disappear. The page is at ttps://www.raehcollection.com Any other ideas? Edited November 18, 2023 by afs242 added info Link to comment
tuanphan Posted November 20, 2023 Share Posted November 20, 2023 Did you solve it? I see no space now 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!) Link to comment
afs242 Posted November 20, 2023 Author Share Posted November 20, 2023 I did not. I gave the wrong image example and link in the first post. That page works as well as the shop page on this site. However all the other pages have the large white space at the top. See example on home page at www.raehcollection.com Link to comment
tuanphan Posted November 22, 2023 Share Posted November 22, 2023 Try adding this code to Website > Page > Website Tools (under Not Linked) > Custom CSS section.Index-page>.Index-page-content { justify-content: flex-start !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!) Link to comment
afs242 Posted November 22, 2023 Author Share Posted November 22, 2023 (edited) As I only want the white space gone on mobile version I included this with your code- @media screen and (max-width:640px) { section.Index-page>.Index-page-content { justify-content: flex-start !important; } } Unfortunately that didn't get rid of the extra white space. It doesn't seem to appear on all the pages, just three of them. https://www.raehcollection.com https://www.raehcollection.com/find-us https://www.raehcollection.com/story Edited November 22, 2023 by afs242 Link to comment
Solution afs242 Posted November 22, 2023 Author Solution Share Posted November 22, 2023 It seems under Site Styles under Index Navigation I had checked "Apply Minimum Height" to All Pages. By default this sets minimum height to 50vh. I turned "Apply Minimum Height" to None. Under Custom CSS I then reduced top/bottom padding to each of the galleries blocks on each page using this code (see below). This gave me control of the white space on mobile view. //Header Banner Padding mobile// @media screen and (max-width:640px) { #block-yui_3_17_2_1_1700096549547_1930{ padding-top: 0px !important; padding-bottom: 0px !important; } } //end// Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment