Change Title-Style on 'Blog Template' Page

Community Forums Forums Design Tips and Tricks Change Title-Style on 'Blog Template' Page

This topic is: resolved

This topic contains 5 replies, has 2 voices, and was last updated by  HollyAlexa 7 months, 3 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #93966

    HollyAlexa
    Member
    Post count: 13

    Hi everyone

    I customized the Titles of my website ‘Pages’ (not ‘Posts’) – see code:

    .page .entry-title { 
    	padding: 20px;
    	font-family: 'Baskerville';
    	font-size: 72px; 
    }

    Unfortunately, the Titles on my ‘Blog Template’ Page are now also changed (to ‘Baskerville’, 72px)

    How can I change the Title- Style on my ‘Blog Template’ Page BACK to the original (AND keep the new Baskerville style on the other static ‘Pages’)?

    I’m using Beautiful Pro :)

    Thanks in advance!

    #94026

    braddalton
    Participant
    Post count: 10341

    [css]
    .page-template-page_blog-php .entry-title {
    padding: 20px;
    font-family: ‘original’;
    font-size: 72px;
    }
    [/css]

    Add this at the very end of your style sheet.


    #94034

    HollyAlexa
    Member
    Post count: 13

    Thanks Brad!! I typed the exact font I was looking for and it worked like a charm!
    Wish you a nice Sunday :)

    #94035

    HollyAlexa
    Member
    Post count: 13

    Sorry – one last thing!

    Do you know off-hand what line of code I would need to make the Titles on the Blog Template Page align with the Body Text?

    Right now the Titles on the Blog Template Page are not aligned with the text, and are indented by about 20 px.

    Thank you!

    #94036

    braddalton
    Participant
    Post count: 10341

    Sure it can be done however don’t have the code written at the moment.

    You could start a new post for this as it will get more exposure.


    #94037

    HollyAlexa
    Member
    Post count: 13

    Thanks for the suggestion, Brad!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.