how to create "headline" class for opening text in a post?

Community Forums Forums Design Tips and Tricks how to create "headline" class for opening text in a post?

This topic is: not resolved

This topic contains 1 reply, has 1 voice, and was last updated by  Fabio 6 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #86084

    Fabio
    Participant
    Post count: 178

    Hi there,
    how do I create a <div class=”articlesummary”> or <div class=”headline”> so that each time I publish a new post I can get the headline to be styled in italics and stuff?

    Should I just create a class in CSS

    headline
    color:…
    background..
    text…

    and then wrap the text around <div class=”headline”></div> in the html editor?
    What do I exactly need to write for the CSS?

    Thank you
    Fabio
    p.s. so proud of myself for learning this stuff

    #86211

    Fabio
    Participant
    Post count: 178

    Nevermind I found how to do it.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.