Have secondary title styled differently than primary (h2) title
-
The secondary title is using the style info of the
article.page h2
(or just h2) instyle.css
.I’m using it to display the names of books and their respective authors:
Book Title (h2 header style; large, Times New Roman)
by the author (wanting different style; small, Arial)and
The secondary title also appears on the left of the primary title like this, “secondary tile: primary title”.
Is there a way to make it,
Primary Title
secondary title1. How do I make the secondary title different than the primary title? (i.e. create/use a selector that is not ‘h2’. Also, does it go in my style.css or somewhere else?)
2. How do I make the secondary title appear underneath the primary title? (if this is tricky, I wouldn’t mind the secondary title appearing to the right of the primary title)
- The topic ‘Have secondary title styled differently than primary (h2) title’ is closed to new replies.