Justified text on the main page

Inicio Foros Ribosome Pro Justified text on the main page

Este debate contiene 3 respuestas, tiene 2 mensajes y lo actualizó  Juan de la Cruz hace 8 meses, 3 semanas.

Viendo 4 publicaciones - del 1 al 4 (de un total de 4)
  • Autor
    Publicaciones
  • #661

    tomasdotti
    Participante

    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
    Jefe de claves

    Hi,

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

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

    Regards.

    #669

    tomasdotti
    Participante

    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
    Jefe de claves

    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.

Viendo 4 publicaciones - del 1 al 4 (de un total de 4)

Debes estar registrado para responder a este debate.