WordPress.org

Ready to get started?Download WordPress

Forums

Spun
Changing title format and text size for Posts (4 posts)

  1. caramelr
    Member
    Posted 1 year ago #

    Hello

    I'd like to change the title for posts from italic to a regular font i'm using in the content of my posts, i'd also like to make the text for the content smaller. I've gone into the style.css and tried changing entry-title and font-style to regular and the entry content and font size to a smaller px and rem but to no avail, here's what i've got below for the title and the content. Could someone point me in the right direction? Many thanks

    .entry-title,
    .entry-title a {
    color: #444;
    font-family: Baskerville, "Playfair Display", "Times New Roman", serif;
    font-size: 32px;
    font-size: 3.2rem;
    font-style: regular;
    line-height: 1em;
    margin: 0 0 20px 0;

    }
    .entry-content,
    .entry-summary {
    font-family: Baskerville, "Playfair Display", "Times New Roman", serif;
    font-size: 20px;
    font-size: 2.0rem;
    font-weight: 300;
    margin: 1.5em 0 0;

  2. kaniamea
    Member
    Posted 1 year ago #

    Hi caramelr,

    Try adding to your child style.css:

    .entry-title, .entry-title a {
        font-style: normal;
    }
    
    .entry-content, .entry-summary {
    font-size: 1.5rem;
      }
  3. caramelr
    Member
    Posted 1 year ago #

    Thanks for your reply. I tried that but it didn't work. I've tried changing the font size within WordPress and editing the Post and the text size there, that seems to work but no joy with the title

  4. Andrew
    Forum moderator
    Posted 1 year ago #

    You'll need to link the site in question

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic