I feel a bit silly asking this as the answer is bound to be obvious. I set a h3 tag with a class on a WP template but for some reason the header tag is getting picked up as the default setting but the class is not and I can’t understand why.
Html:
<h3 class="contact-heading">Get in Touch</h3>
CSS:
.contact-heading h3{color: #3C0; font: 2.0em Verdana, Geneva, sans-serif;font-weight:
normal;letter-spacing: 5px; text-transform:uppercase;}
Change css to:
.contact-heading h3means “apply these styles to allh3elements inside an element with the classcontact_heading“h3.contact-heading means “apply these styles to all
h3elements which have the classcontact_heading“