Change the Divider Bar

⚠️ Code snippets might not be compatible with the latest version of your theme. Always use a child theme to customize your theme, and test your code on a staging website before migrating to production.

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.

Change the Divider Bar on Front Page:

/* START OF Change the Divider Bar */
/* 2px=thickness, solid=style (dotted-dashed-solid-double-groove-ridge-inset-outset), red=color */
.home .featurette-divider {
border:         2px solid red;
}
/* END OF Change the Divider Bar */

 

Change the Divider Bar on all Posts/Pages:

/* START OF Change the Divider Bar */
/* 2px=thickness, solid=style (dotted-dashed-solid-double-groove-ridge-inset-outset), red=color */
.featurette-divider {
border:         2px solid red;
}
/* END OF Change the Divider Bar */

 

Remove the Divider Bar on all Posts/Pages:

/* START OF Change the Divider Bar */
.featurette-divider {
display:        none;
}
/* END OF Change the Divider Bar */

 

Leave a Reply to Dave Bardell Cancel reply

Your email address will not be published. Required fields are marked *

6 thoughts on “Change the Divider Bar”