- This topic has 2 replies, 2 voices, and was last updated 3 years, 4 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › Free Themes › Magpaper › Magpaper: footer widget height different for each category
Hello,
I am using Magpaper for my news website bedbolukbasi.com and I really like your theme as it suits my news content well. I have a two questions regarding the footer widget.
1) I have my social media icons placed on the area Footer Widget 1. However the height of the widget is a little bit too much, so I wanted to decrease it and found this code.
.home .site-footer .page-section {
padding: 25px;
}
It worked perfectly but this code changes it only for the homepage and in every other category of my menu at the top the height remains the same as before. How do I need to adjust this code so that it changes the footer widget height on every page of my website and not only the homepage.
2) The next question is closely connected to my first one. Can I also change the black background color of Footer Widget 1 and for example make it white or transparent or any other color with the hex-code of that color? Is that possible?
Thank you very much in advance.
@bedrettin, the code you have tried was correct except for “.home”. Since there is “.home” class it only targets the homepage. In order to apply for all other pages, you can just remove “.home” and it will work for all other pages.
Regarding background, you can add background property on that existing code i.e
.site-footer .page-section {
padding: 25px;
background-color: transparent;
}
Regards,
Hey Psink,
thank you very much for your help, your additions did the trick 🙂
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |