damianfreitas6 Posted October 19, 2023 Share Posted October 19, 2023 Hi, How do I edit this code to show a solid colour box on the navigation on the left? When scrolling, there is an overlap of elements (like the divider) with the navigation on the left. Website: https://sunflower-parrot-b669.squarespace.com/ pass: demo Thanks in advance Code: /* Float header */ @media screen and (min-width:992px) { .header-title { position: fixed; top: 3vw; left: 2vw; z-index: 9999; } .header-nav { position: fixed; top: 10vw; left: 2vw; padding: 0 !important; } nav { flex-direction: column; } div.header-nav-item { margin: 0 !important; text-align: left !important; } div.header-nav-item a{ display: inline-block; } .header-actions.header-actions--right { position: fixed; left: 2vw; bottom: 2vw; justify-content: flex-start !important; } .header-actions--right .header-actions-action a { margin-left: 0 !important; margin-right: 2.5vw; } #page article section { max-width: 85%; margin-left: 15%; padding-top: 0 !important; } .header-title-text { text-align: left; } header#header { box-shadow: none !important; }} Link to comment
tuanphan Posted October 21, 2023 Share Posted October 21, 2023 Change this code to this #page article section { max-width: 85%; margin-left: 15%; padding-top: 0 !important; overflow: hidden; } 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment