• Resolved Jakeeck

    (@jakeeck)


    I’ve made some modifications to my theme(responsive) and now I’m seeing that I need a child theme to do that or it’ll all get erased when I update it?

    Is there a way to keep the modifications I already made by using a child theme? Or do I have to download the child theme and start over?

Viewing 9 replies - 1 through 9 (of 9 total)
  • That’s correct, any modifications you make to the original theme will be overwritten when you update the theme in the future.

    You’ll need to create a child theme if you’d like to keep your customization. See http://codex.wordpress.org/Child_Themes

    WPyogi

    (@wpyogi)

    Responsive theme has a free child theme you can download – see their forum here for more info:

    http://cyberchimps.com/forum/free/responsive/

    Then you will need to move any file-level changes you have made to the child theme.

    I’ve made some modifications to my theme(responsive)

    Did you make modifications to make your theme responsive or are you using THE “Responsive” theme? Sorry for the confusion.

    Thread Starter Jakeeck

    (@jakeeck)

    “responsive” theme

    also how do I move files over to child theme? Do i just copy all files in there?

    I’d suggest reading:

    http://codex.wordpress.org/Child_Themes
    http://wordpress.org/support/topic/responsive-child-theme

    Between those two links you will have all the information you need to setup your Child theme.

    Thread Starter Jakeeck

    (@jakeeck)

    Ok I installed the child theme and everything, but I did the “@import url(“../responsive/style.css”);” as it says in that codex link. The problem is I don’t have any code in styles.css file for the child theme, so how do I make changes then?

    WPyogi

    (@wpyogi)

    You need to use a browser tool like Firebug which will show you the CSS code for an element on the page – then you can copy that code to the child theme style.css file, and make the changes there.

    There’s lots of good info on the Firebug website. And these are also good CSS reference sites:

    http://www.w3schools.com/css/

    http://csscreator.com

    WPyogi

    (@wpyogi)

    Also, the code you add should go after this line in the new style.css file:

    /* =Start From Here
    -------------------------------------------------------------- */

    Thread Starter Jakeeck

    (@jakeeck)

    I appreciate your help, I’m still having trouble though.

    Here’s what I have in my child theme style.css

    I tried making an obvious change.. have my logo float right instead of left.. so i pasted the code in the style.css for my child theme and changed it to right, and it’s not taking effect. What am I doing wrong?

    /*
    Theme Name:     Responsive Child
    Theme URI:      http://responsive.com/
    Description:    Child theme for the Responsive theme
    Author:         Jake Eckhardt
    Author URI:     http://www.bucketbreaks.com
    Template:       responsive
    Version:        0.1.0
    */
    @import url("../responsive/style.css");
    /* =Start From Here
    -------------------------------------------------------------- */
    #logo {
    float: right;
    margin: 0;
    }

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Child Themes?’ is closed to new replies.