Hi everybody,
I can’t change the CSS of Footer content (color, line-height …)
Please help,
A user is unable to modify CSS properties (color, line-height) in their Shopify website footer despite adding code to section-footer.css.
Attempted Solution:
.footer-block__details-content with color and line-height properties, but changes didn’t apply.Working Solution Provided:
base.css file.footer-content__top a (for color) and .footer-block.grid__item.footer-block--menu (for text alignment)!important flag to override existing stylesOutcome:
The user confirmed the solution worked successfully. The issue was resolved by placing the CSS in the correct file (base.css) rather than section-footer.css and using proper selectors with importance declarations.
Hi everybody,
I can’t change the CSS of Footer content (color, line-height …)
Please help,
Hi @collins276 ,
The relevant changes can go in file section-footer.css
But what exactly do you want to change ?
Thanks
Yash Garg
Yes, I went to Section-footer.css and add this
.footer-block__details-content{
color: pink;
line-height: 0.5rem
}
but nothing happened.
Can you take a look?
Hi @collins276
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at bottom of the file → Save
.footer-block.grid__item.footer-block–menu.scroll-trigger.animate–slide-in {
text-align: center !important;
}
.footer__content-top a {
color: red !important;
}
Hope that my solution works for you.
Best regards,
Henry | PageFly
Thank you ![]()
You are welcome @collins276 ![]()