Justified text on the main page

Home Forums Ribosome Pro Justified text on the main page

This topic contains 3 replies, has 2 voices, and was last updated by  Juan de la Cruz 1 year ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #661

    tomasdotti
    Participant

    Hello, how do I leave the text of my posts also justified on the main page? I always create posts with justified text, but in the main it is aligned to the left.

    #667

    Juan de la Cruz
    Keymaster

    Hi,

    Go to Appearance > Customize > Custom CSS and paste the following code:

    .excerpt-wrapper p {text-align:justify;}

    Regards.

    #669

    tomasdotti
    Participant

    Nice. It works.
    You can please tell me how to let the justified title, with smaller font and different color?

    #678

    Juan de la Cruz
    Keymaster

    Hi,

    To leave the title justified removes the code above and paste the following:
    .excerpt-wrapper {text-align:justify;}

    To change the color and font size of the title, paste the following into the box ‘Custom CSS’ (these CSS rules set the color to red and the font size to 18px. You need to set the color and font you want):

    For single posts:
    h1.entry-title{color:#ff0000; font-size:18px !important;}

    For excerpts:
    h2.entry-title a{color:#ff0000; font-size:18px;}

    Regards.

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

You must be logged in to reply to this topic.