• Resolved Sebi_26

    (@sebi_26)


    Hello Ben .

    Again thank you for your superb sleek theme.

    A question on the file of class.css

    Where can I change the text size for my title in coprs of my article ?

    The default is a little big for my needs and I would lower it. Thank you very much in advance

    Sébastien

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi, Sebastien

    Could you post a link to your site?

    Thread Starter Sebi_26

    (@sebi_26)

    Thanks Wdtune !

    This is a link :
    https://patrimoine-inattendu.com/premier-immeuble-test/

    For exemple, i would like the title “AVIGNON – 1èRE DéCOUVERTE” more small

    The CSS for that element is this:

    .entry-header h1 {
      font-size: 4.25em;
      line-height: 1.06;
    }

    You could add that, changing the values to suit you to a child theme. You can also get a plugin to add custom CSS or some themes have that ability built in.

    So

    .entry-header h1 {
      font-size: 3.25em;
      line-height: 1.06;
    }

    Would reduce the font size.

    Add this code to your CSS.

    .entry-header h1 {
    font-size: 2.25em !;
    }

    Play with “font-size” until you get what you need.

    Cheers

    Thread Starter Sebi_26

    (@sebi_26)

    Thanks a lot martcol !
    In fact, the solution is not in style.css but in style.min.css

    Thanks again everybody !

    If you are editing the core files of your theme you will lose them if ever the theme is updated.

    A better solution is to use a child theme or to use a plugin. I only use child themes myself so little experience with the plugin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to change the text size under articles ?’ is closed to new replies.