galbers Posted November 23, 2022 Share Posted November 23, 2022 I'm trying to make the footer go full width to the screen left, right and bottom. I have custom CSS that I've modified so far: #footer { background: #000066; padding: 30px; margin-top: 60px; text-align: left; } But can't figure out how to make the margin or padding to the container to 0. Not sure if I have the language correct here. Link to comment
tuanphan Posted November 25, 2022 Share Posted November 25, 2022 Hi, What is site url? We can check this easier 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
galbers Posted November 25, 2022 Author Share Posted November 25, 2022 cottonmule.com Link to comment
tuanphan Posted November 29, 2022 Share Posted November 29, 2022 On 11/26/2022 at 4:20 AM, galbers said: cottonmule.com Add to Design > Custom CSS footer#footer { max-width: 100% !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
galbers Posted November 29, 2022 Author Share Posted November 29, 2022 @tuanphan Just put the max-width code in the custom CSS and it doesn't seem to be adjusting to the full width of screen. Is there another option? Do I need to select the block instead? Link to comment
tuanphan Posted December 2, 2022 Share Posted December 2, 2022 On 11/29/2022 at 8:55 PM, galbers said: @tuanphan Just put the max-width code in the custom CSS and it doesn't seem to be adjusting to the full width of screen. Is there another option? Do I need to select the block instead? I see it worked here. Or you need footer touch the left & right of screen? 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
galbers Posted December 2, 2022 Author Share Posted December 2, 2022 @tuanphan Yes, I want the footer color to touch left, right, bottom of screen. Do you know how to code that? Link to comment
Solution tuanphan Posted December 4, 2022 Solution Share Posted December 4, 2022 On 12/2/2022 at 9:00 PM, galbers said: @tuanphan Yes, I want the footer color to touch left, right, bottom of screen. Do you know how to code that? Use this new code html, body { overflow-x: hidden; } footer#footer { background: #006; padding: 30px; margin-top: 60px; text-align: left; max-width: 100% !important; position: absolute; left: 0; width: 100%; } lelaw 1 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
galbers Posted December 5, 2022 Author Share Posted December 5, 2022 @tuanphan Perfect!!! Thanks. Link to comment
Abbybricks Posted February 27 Share Posted February 27 We have a footer but it only goes the full width on certain pages. Not sure what code to use to fix that. www.megbraffdesigns.com is fine, full width. Product pages like https://www.megbraffdesigns.com/special-inscription-book do not spread to the full page width. Link to comment
tuanphan Posted March 2 Share Posted March 2 On 2/28/2024 at 6:05 AM, Abbybricks said: We have a footer but it only goes the full width on certain pages. Not sure what code to use to fix that. www.megbraffdesigns.com is fine, full width. Product pages like https://www.megbraffdesigns.com/special-inscription-book do not spread to the full page width. The page doesn't exist. Can you check it again? 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