Change slider text font size – Sydney

This article shows how you can customize the font sizes for both the slide title and the slide subtitle.

For large screens:

.text-slider .maintitle {
	font-size: 57px;
}
.text-slider .subtitle {
	font-size: 30px;
}

For smaller screens:

	
@media only screen and (max-width: 767px) {
	.text-slider .maintitle {
		font-size: 32px;
	}
	.text-slider .subtitle {
		font-size: 16px;
	}	
}

For small screens:

	
@media only screen and (max-width: 479px) {
	.text-slider .maintitle {
		font-size: 20px;
	}
	.text-slider .subtitle {
		font-size: 14px;
	}	
}

Tip: change the font-size values above to the ones you want

INFO: This is a CSS snippet. If you don’t have a child theme or don’t know how to use one, we recommend that you add this snippet in Customize > Additional CSS.