WordPress.org

Support

Support » Themes and Templates » Title Size on Custom Page in Child theme

Title Size on Custom Page in Child theme

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    @esmi

    Forum Moderator

    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/

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Title Size on Custom Page in Child theme’ is closed to new replies.
Skip to toolbar