Hi
I’m using DW Focus and the Buttons for the widgets (such as most popular posts) are all black background with white text: (https://www.dropbox.com/s/mrsswx7tv9l05xn/Screenshot%202015-03-03%2011.45.00.png?dl=0)
I’d like to change the background of these buttons and also to the slider background to a different colour (#2F3A3E)to be more consistent with the parent website. Any suggestions on how I might do this?
1 Answers
To resolve this issue, you can add the following code to the style.css file:
#secondary .widget .widget-title {
border-top-color: #2F3A3E;
}
#secondary .widget.latest-news .widget-title, #secondary .tab-pane.latest-news .widget-title, #secondary .accordion-body.latest-news .widget-title {
background: #2F3A3E;
}
#secondary .widget.latest-news .widget-title:before, #secondary .tab-pane.latest-news .widget-title:before, #secondary .accordion-body.latest-news .widget-title:before {
border-top-color: #2F3A3E;
}
.nav-tabs {
background: #2F3A3E;
}
.news-slider .carousel-list .other-entry a {
border-bottom-color: #000;
}
.news-slider .carousel-list h3:before, .news-slider .carousel-list h3:after {
border-top-color: #2F3A3E;
}
.news-slider .carousel-list h3:after {
border-top-color: #2F3A3E;
}
.news-slider {
background: #2F3A3E;
}
.news-slider .carousel-list .other-entry li.active a, .news-slider .carousel-list .other-entry li:hover a {
background: #1c2225;
}
.news-slider .carousel .carousel-inner .entry-thumbnail:before {
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
/* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, #2F3A3E));
/* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, #2F3A3E 100%);
/* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, #2F3A3E 100%);
/* Opera 11.10+ */
/* IE10+ */
background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(#2F3A3E));
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #2F3A3E 100%);
/* W3C */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2F3A3E', endColorstr='#2F3A3E', GradientType=0);
/* IE6-8 */
}
Hope this helps !
Please login or Register to submit your answer