Change Grey Bar between Navbar and Slider

Last Reviewed: 29-Apr-15 (3.3.20) 3.1.* 3.2.* 3.3.*

Where to copy/paste this code?
The simplest way is to use the Custom CSS section of the customizer option screen. If you have many customizations to make in CSS and PHP, then we strongly recommend you create a child theme. Everything you need to know about creating a child theme with Customizr here.

Remove the Grey Bar:

/* START OF Change Grey Bar between Navbar and Slider */
header.tc-header {
border-bottom: 0;
}
/* END OF Change Grey Bar between Navbar and Slider */

Credit: @fabioeliseo
 

Change the Grey Bar:

/* START OF Change Grey Bar between Navbar and Slider */
/* 2px=thickness, solid=style (dotted - dashed - solid - double - groove - ridge - inset - outset), green=color */
header.tc-header {
border-bottom:  2px solid green;
}
/* END OF Change Grey Bar between Navbar and Slider */

 

Change the Grey Bar on specific pages:

/* START OF Change Grey Bar between Navbar and Slider */
/* Front Page */
.home header.tc-header {
border-bottom:  2px solid green;
}
/* Posts Page */
.blog header.tc-header {
border-bottom:  2px solid green;
}
/* Other Page */
.page header.tc-header {
border-bottom:  2px solid green;
}
/* Specific Page (change page-id-n) */
.page-id-n header.tc-header {
border-bottom:  2px solid green;
}
/* END OF Change Grey Bar between Navbar and Slider */

 

22 thoughts on “Change Grey Bar between Navbar and Slider”

Comments are closed.