RhysCunningham Posted January 2 Posted January 2 Site : https://www.ribetmyles.co.uk/landing Rest of site: www.ribetmyles.co.uk I have made a landing page for my client, they wanted a bespoke header that was different from the rest of the site so I disabled the header and am using a section block as the 'header'. Using the below: <style> #header, header { display: none!important;} </style> They then wanted this block to be fixed to the top of the page and viewable so the phone number was always accessible which I have done, in the CSS: [data-section-id="65855b7e958eebc0f9ca9b3e"] { position: fixed; z-index: 1; } The issue i find now is that the block does not 'fill the page' and seems to stop at a certain point (site container size? not sure) Tried a bunch of things including : // FULL WIDTH SECTION section // [data-section-id="65855b7e958eebc0f9ca9b3e"] { overflow-x: hidden !important; overflow-y:hidden !important; } section[data-section-id="65855b7e958eebc0f9ca9b3e"] { .content-wrapper { padding: 0px !important; margin: 0px auto; display: contents; } .sqs-layout .sqs-row .sqs-block { padding-bottom: 0px !important; padding-top: 0px !important; } } Implementing this then stops the section from being fixed.....any help here would be much appreciated Thanks
tuanphan Posted January 4 Posted January 4 Which screen size do you see problem? It looks fullwidth to me 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!)
CassAggett Posted January 4 Posted January 4 @RhysCunningham Looks good to me - 32" widescreen Instruction: How to set a site-wide password If this helped you, please like or mark my solution as answer so others can scroll to it quickly 👆 Cass Aggett is a Squarespace website designer for go-getting women – no matter what stage of business. WEBSITE • INSTAGRAM
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment