Home › Forums › Support › Widgets in footer with different color. How should I cover the entire widget?
- This topic has 3 replies, 2 voices, and was last updated 8 years, 2 months ago by
Leo.
-
AuthorPosts
-
January 18, 2018 at 11:45 am #474362
Anna
Hey!
Trying to change the color of foother widget No. 2 (right) to black. Has succeeded in part, but I am not sure if it is correct. Has used the CSS code in the customization section:
.inside-footer widget .footer widget-2 {
background color: # 303030
}
The black color only partially covers the text and the icon.The idea is that the foot should have one widget green and another black. The black color should cover the entire widget no.2. Footer is set to the full width.
Want to ask for any CSS code or other method to make it work.
Grateful for answers.
Greetings
Anna LarssonUses GeneratePressVersion: 2.0.2 (Premium)
Ps. Ps. Sorry for English. Have used Google translator. 🙂
January 18, 2018 at 4:14 pm #474516Leo
StaffCustomer SupportHi there,
So basically you want the right side entirely black?
That’s not possible with only CSS unfortunately.
You will need to recreate the footer widget using the after footer widgets hook:
http://demo.generatepress.com/hook-locations/with 2 columns (I would recommend the built-in unsemantic grid):
https://docs.generatepress.com/article/creating-columns/And use widget shortcode plugin to turn widget into shortcode:
https://en-ca.wordpress.org/plugins/widget-shortcode/Let me know once you do that then I can provide some CSS to style 🙂
January 19, 2018 at 5:29 am #474794Anna
Thank you for your quick reply!
I have already made the Footer with 2 columns in different colors in Elementor and am pleased with it.
The problem really is that, I can not use my Elementor’s footer with 2 columns in Blog and single post footer. Same problem with the header. Blogs and individual posts do not accept other header and footer. Other pages, it’s no problem, I just hide footer and change to footer designed by me.
I’m quite scared to use CSS, it can cause big problems if you make a mistake.
How can I make it work without having to use codes so much? Do you have any suggestions? Maybe the forum has an answer.
Greetings
Anna LarssonJanuary 19, 2018 at 6:51 am #474934Leo
StaffCustomer SupportCSS doesn’t cause big problems when mistakes are made – it’s purely visual and won’t crash your site.
And we are here to help 🙂
It’s only way to accomplish that using GP unfortunately.
-
AuthorPosts
- You must be logged in to reply to this topic.