sheilabuchanan Posted June 18, 2020 Share Posted June 18, 2020 Site URL: https://here-la.squarespace.com/ Hi there! I'm trying to make it so that my instagram feed is full width with no spaces or padding on any side. I included this code in css /* Instagram Full Width */ .page-section:nth-child(7) .content-wrapper { padding-left: 0!important; padding-right: 0!important; padding-top: 0!important; padding-bottom: 0!important; overflow-x: hidden; } div#block-yui_3_17_2_1_1591919983788_36030 { padding-bottom: 0; } div#block-yui_3_17_2_1_1591921772285_10543 .content-wrapper { padding-left: 0!important; padding-right: 0!important; padding-top: 0!important; overflow-x: hidden; } but now I have a white box on the far right end. See attached screenshot. Has anyone else encountered this? Thank you in advance! The password to view the site is: review Link to comment
jpeter Posted June 18, 2020 Share Posted June 18, 2020 @sheilabuchanan Update the .page-section:nth-child(7) .content-wrapper CSS selector to .page-section:nth-child(7) > .content-wrapper The difference is adding the direct child combinator ">" so we target just the child of the section instead of its grand children. sheilabuchanan 1 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