WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Ten
[resolved] [twentyten-child] how much code to include in child (7 posts)

  1. buildy
    Member
    Posted 9 months ago #

    G'day,
    I'd like to confirm this code before sending it to my host as I'm not sure of how much code to include in the child. For example if I over-ride the color will the other formatting like font be lost?

    `/*
    Theme Name: Twenty Ten Child
    Theme URI: http://http://adventureriders.com.au/wp-content/themes/twenty-ten-child/
    Description: Twenty Ten Child Theme
    Author: build
    Author URI: http://build.adventureriders.com.au/
    Template: twentyten
    Version: 1.0.0
    */

    /* =Imports styles from the parent theme
    -------------------------------------------------------------- */
    @import url('../twentyten/style.css');

    /* =Theme customization starts here
    -------------------------------------------------------------- */

    /* Change font-size of site-description - line 363 */
    #site-description {
    font-size: 18px; /* over ride default size */
    }

    /* header image remove top border - line 372 */
    #branding img {
    border-top: 1px solid #000; /* 4px */
    }

    /* top menu change from black to white - line 383 */
    #access {
    background: #FFF; /* #000 */
    }

    /* top menu change font from white to black */
    #access ul li.current-menu-parent > a {
    /* color: #fff; */
    color: #000;
    }

    * html #access ul li a:hover {
    /* color: #fff; */
    color: #000;
    }

    /* top menu link highlight - line 406 */
    #access a {
    color: #ececec /* #aaa; */
    }

    /* body text - line 115 */
    body,
    input,
    textarea,
    .page-title span,
    .pingback a.url {
    font-family: Verdana, Geneva, sans-serif;
    /* font-family: Georgia, "Bitstream Charter", serif; */
    }

    /* CHANGE HEIGHT OF HEADER IMAGE ! ! ! ! ! */
    /* - line */'

    Thanking you in anticipation,
    build

  2. john
    Member
    Posted 9 months ago #

  3. buildy
    Member
    Posted 9 months ago #

    John thanks for your reply.
    The first link I've read, that's how I got this far but I read it again anyway.

    The second I read but still can't see an answer to my question.

    Anymore advise?

    Thanking you in anticipation,
    build

  4. buildy
    Member
    Posted 9 months ago #

    G'day All,
    I think I'd better simplify the question so:

    If I over-ride just the font-size in the child style.css will the other formatting like color, font-family, etc be lost?

    tia,
    build

  5. Andrew
    Forum Moderator
    Posted 9 months ago #

    If I over-ride just the font-size in the child style.css will the other formatting like color, font-family, etc be lost?

    No.

  6. buildy
    Member
    Posted 9 months ago #

    Thanks Andrew.

  7. buildy
    Member
    Posted 9 months ago #

    Question resolved

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.