Hide entry-footer
-
Hi,
I removed all the widgets from the footer and it leaves some empty space left between the content and the site-info footer. How can I remove it? I can’t find a .class that works in my css style sheet to apply
display: none.cheers,
RodThe page I need help with: [log in to see the link]
-
This should take care of that, use the code in Additional CSS section.
.no-widgets .site-footer { margin-top: 0; }On a sidenote, the color contrast on social links and its background seems too low making it difficult to see.
Hi Paul, thanks for passing by.
It didn’t work. It does in the inspector but not when I add the css in my child-theme. I tried also
#colophon.no-widgets .site-footerand nothing.Yeah, the social links .class to change their color is another quest. Any ideas?
I can confirm that the code work (via web deb tool I directly put that into child theme’s style.css). Could it be that your browser cache prevented the change to appear?
Also if you want to use
#colophonthe selector must be like this.no-widgets #colophon.site-footer { }but in this case, it’s not necessary to add
#colophonThis is to change social icon color
.footer-navigation-wrapper li .svg-icon { fill: #fff !important; }Hi,
Thanks Paul, for sharing the css selector.
Thanks Oliver. I tested both new features for the footer margin and the social icons and they work great 🙂
The topic ‘Hide entry-footer’ is closed to new replies.
