Change the font/size/color of the Slider Titles

⚠️ 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.

/* START OF Change the font/size/color of the Slider Titles */
/* Change Slider Titles (2em) font-size, (Garamond) family, (red) color */
/* Title text */
.carousel-caption h1 {
font-family:    Garamond;
font-size:      3em;
color:          red !important;
}
/* Description text */
.carousel-caption p {
font-family:    Garamond;
font-size:      2em;
color:          blue !important;
}
/* Button text */
.carousel-caption .btn {
font-family:    Garamond;
font-size:      1em;
color:          yellow;
}
/* END OF Change the font/size/color of the Slider Titles */

Leave a comment

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

6 thoughts on “Change the font/size/color of the Slider Titles”