CSS style selectors
-
Hi, for my main body, I have defined a class:heading,subheading,paragraphs for styling the heading, subheading, paragraph respectively in style.css, but my problem is how do I indicate to wordpress when I want to use a certain style for the text?
I tried in the WP admin HTML Editor by adding:
<div class=”heading”>
I AM A HEADING</div><div class=”subheading”>
I AM SUBHEADING
</div><div class=”paragraph”>
the quick brown fox jumps over the lazy dog.
the quick brown fox jumps over the lazy dog.
the quick brown fox jumps over the lazy dog.
</div>BUT that didn’t work and only displayed the text (without style) if I remove the class selectors.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘CSS style selectors’ is closed to new replies.