WordPress.org

Support

Support » Themes and Templates » Spun » Changing title format and text size for Posts

Changing title format and text size for Posts

  • 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;

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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;
      }

    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

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    You’ll need to link the site in question

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing title format and text size for Posts’ is closed to new replies.
Skip to toolbar