CSS Help on Page Tempalte

Community Forums Forums Design Tips and Tricks CSS Help on Page Tempalte

This topic is: resolved

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

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #44053

    angieatc
    Participant
    Post count: 80

    I need some CSS help for this site I am working on. I need to make the post titles smaller only on this page and another page template (not created yet). I cannot for the life of me figure out the CSS for it. Can someone please help me?

    Thanks

    http://test.strosgirldesigns.com/news/
    #44068

    rfmeier
    Participant
    Post count: 518

    Hello,

    Are you talking about all titles?  Widget titles included?


    Ryan Meier – Web Developer @ Solid Interactive
    Twitter

    #44074

    angieatc
    Participant
    Post count: 80

    Hi,

    I just need it for the post titles on the excerpt for this page.

    Thanks

    #44075

    rfmeier
    Participant
    Post count: 518

    I’ll start with this example.

    I added the css rules below for your style.css file.  This will apply to pages uses the template news-and-events (or however it is named).

    .page-template-newsandevents-php h2,
    .page-template-newsandevents-php h2 a {
        font-size: 30px; /* change this size to your liking */
    }
    
    .page-template-newsandevents-php #content p{
        font-size: 13px; /* change this size to your liking */
    }

    Other pages with this same template will follow the styling.  Make sure this is declared after the initial styling (around line 806).

    Let me know if this works.


    Ryan Meier – Web Developer @ Solid Interactive
    Twitter

    #44076

    angieatc
    Participant
    Post count: 80

    Thanks Ryan but it did not work. I added it the code at the bottom of my CSS and nothing worked.

    #44078

    rfmeier
    Participant
    Post count: 518

    Is it within the demo style.css now?


    Ryan Meier – Web Developer @ Solid Interactive
    Twitter

    #44083

    angieatc
    Participant
    Post count: 80

    This is the code that worked.

    .featuredpost h2 a {
    font-size: 24px;
    }

    Thanks again for the help!

    #44091

    rfmeier
    Participant
    Post count: 518

    You’re welcome.  I am glad it worked out.


    Ryan Meier – Web Developer @ Solid Interactive
    Twitter

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

You must be logged in to reply to this topic.