Support » Theme: Receptar » Change font size in post excerpts

  • Resolved trailhunter

    (@trailhunter)


    Hello,

    how can i change my font-size in the post excerpts e.g. on the landing page? Especally on Tablets or Phones the view in landscape mode is to big.
    With WP Google Fonts I can Change the font but under custom CSS the coding have ne effect.

    h1.entry-title {font-size: 9px;} (for an extreme example)
    .entry-title {font-size: 9px;}

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The code you listed above would change the title.

    You can change the text with :

    p.post-excerpt {
        font-size: 11px;
    }

    Hi,

    Yes, your code would affect titles, not the excerpt. I suggest using this code:

    @media only screen and (max-width: 1024px) {
    
      .posts .entry-title {
        font-size: 120%;
      }
      .posts .entry-content {
        font-size: 90%;
      }
    
    }
    

    Regards,

    Oliver

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change font size in post excerpts’ is closed to new replies.