Styling one specific paragraph

Community Forums Forums Design Tips and Tricks Styling one specific paragraph

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  bsky92 1 year, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #87490


    I use the eleven40 pro theme
    On some posts – with no special template, no use – I want to be able to change the styling of one specific paragraph, inclusive margins, color of fonts.

    I thought about adding some new format in the style.css file of my child theme, but it seems it’s not the way to do it.

    Can someone explain me how I should do that ?

    Brigitte S

    You can use pre-defined styles like <i> </i> for italics <quote> or use <small> </small>

    But styling using above will be limited. Using custom classes is more refined option. Like define new class in style.css file

    .styleone {
    margin:10px 20px;

    and use it in your post contents while in html mode in this format.

    <div class=”styleone”>your text</div>



    Thank you

    This is waht I was trying to do, but then I forgot the point before naming the style :(
    Still learning ….

    Thanks again

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

You must be logged in to reply to this topic.