Target and style specific text
-
Hi,
I’m trying to create separate divs for certain texts so that I can style them differently. I want to have certain words a different font and color etc, and want to do it through the style.css file rather than in the page editor (so that if I want to change the style it will apply to all of them).
I tried creating a new div by writing
<high>hello</high>
in my page editor, and writinghigh { color: #1181AA !important;}
in my style.css file. This doesn’t work though. Is there another way around this?I would also like to use this to create separate styles for images and links, too.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Target and style specific text’ is closed to new replies.