to format any widget in the sidebar, try to use:
.wpb_widgetised_column .widget {}
to format any widget in the footer, try to use use:
.footer-widget .widget []
Thank you for replying so soon, I think the css is amended, but its still showing the same thing.
Here is the css code:
.wpb_widgetised_column .widget:last-of-type,
.widget-area .widget:last-of-type {
margin-bottom: 0;
background-color: #eee
}
.widget {
background-color: #eee;
box-shadow: 1px 1.732px 5px 0px rgba(235, 235, 235, 0.75);
-webkit-box-shadow: 1px 1.732px 5px 0px rgba(235, 235, 235, 0.75);
margin-bottom: 20px;
display: inline-block;
width: 80%;
}
.footer-widget .widget {
box-shadow: none;
-webkit-box-shadow: none;
-webkit-appearance: none;
border: 1px solid #000;
background-color: #000
can you describe what you are trying to format in what way? and what is supposed to be different in the sidebar compared to the footer?
where did you add these CSS styles?
there is no CSS class .widget-area in your site so you can remiove that selector.
however, the top style seems to be applied OK (to the Subscribe widget in the sidebar);
the middle one seems to be overwritten by a different .widget style in /assets/css/wordpress.css;
the third one seems to be applied OK (to all widgets in the footer).
instead of editing inside the css files of the theme, consider to use ‘Additional CSS’ under ‘Appearance’ – ‘Customize’, because that will generally get loaded after all other stylesheets.
-
This reply was modified 6 years, 1 month ago by
Michael. Reason: added clarification