WordPress.org

Forums

Title Size on Custom Page in Child theme (3 posts)

  1. nellie.g
    Member
    Posted 3 years ago #

    I have a custom page template popup.php in my twentyten-child theme. I have successfully removed my header image and menu bar from my custom page and now would like my site title and site description to be smaller on the custom page than on other pages. I have the following files in my twentyten-child directory:

    header.php
    loop-page.php
    popup.php

    style.css

    which one do I edit this in an how? please provide specific code, I am a totally newbie!

    thanks!!!

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    You need to edit your child theme's CSS. Try using Firefox with the Firebug add-on for this kind of work.
    http://getfirebug.com/

  3. nellie.g
    Member
    Posted 3 years ago #

    I tried putting this code into my style.css in my child theme, is this close? or am I way off. It definitely didn't work but is this sort of what I'm going for?

    '<?php if( is_page_template( 'popup.php' ) ):?>
    #site-title a {
    font-size: 14 px;
    }
    <?php endif;?>'

    I'll definitely check out firebug, looks like color coding might save me. Any code you could give me would be great. I also have another very similar issue which I posted about here.

Topic Closed

This topic has been closed to new replies.

About this Topic