Skip to:
Content
Pages
Categories
Search
Top
Bottom

Child copy of Child copy?


  • daveng64
    Member

    @daveng64

    Hi, I’m a 65 yr old newbie here so please bear with me as I stumble along a bit. I’m setting up a Buddypress site for my seniors community. I installed the default BP theme then I installed the BP Columns child theme. My question is ~ Do I make a copy of just the default BP theme for future upgrades or should I make a copy of both the BP Default and BP column themes? I am going to change just a few things in the CSS files (font size & color) etc, so it is easier to read..I know this is probably a really simple question to answer but I am a long way from knowing what I am doing. Thanks

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

  • aces
    Participant

    @aces

    I would suggest making a copy of bp columns ie making a directory in your themes directory called my-columns and putting all the contents of bp-columns in it.

    Then redo the details at the top of the style.css sheet – change:
    ` Theme Name: BP Columns `
    to:
    ` Theme Name: My Columns `
    leave
    `Template: bp-default`
    as it is.

    Then you should find My Columns available to activate in the appearance > themes > Manage themes area.

    Then make your changes to the new directory which is / will still be a child of bp-default…

    Do not touch the bp default theme.


    daveng64
    Member

    @daveng64

    Thanks aces,
    I think I understand, but all the CSS style changes in Columns are borrowed from BP Default. Wouldn’t I need to save those style changes made in Default somewhere also? so when Default is upgraded I won’t lose all the style changes I made…This is where I pretty much get lost as to how not to lose the style changes when I’m using the Columns child theme and style changes are required to be made in BP default because Columns child does not have it’s own CSS — ? its sort of confusing to me.


    Brandon Allen
    Participant

    @cnorris23

    Nope. Just make the changes @aces gave you, and you’ll be ready to edit how you please :) You’ll only to change the css in your new my_columns theme.


    aces
    Participant

    @aces

    my-columns will have it’s own style.css (as it is a clone of bp columns which has one) and that is where you change the font sizes and colours etc. It will overwrite the css in buddypress default theme. So you could change the font size by writing
    `body {
    font-size: 14px;
    }`
    in the my columns style.css file….

    You can quite often see what needs to be changed using developer tools built into ie8 or firebug in firefox (and equivalents for other browsers). Firebug has a neat trick of being able to show changes as you make them….

    As you are creating a child of bp default your changes won’t be lost when bp default is upgraded… bp columns is now a different theme and if it is upgraded you would need to compare the changes manually…

    I actually used this method with bp columns to create the child of bp default I used here

    You might also find https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/ useful if you haven’t already seen it!


    daveng64
    Member

    @daveng64

    aces/brandon…I really appreciate your help…I think I grasp it and if I don’t, how much damage can I do anyways? (other than having it all disappear)…I’m working on it in a test site, so if worse comes to worse, hopefully I will be able to undo whatever I did to mess it up. I’m printing your answers so I can follow them word for word :) Again, My thanks……


    Hugo Ashmore
    Keymaster

    @hnla

    You can never do damage if you just follow a simple principle: make a copy of the file you intend working on, then when you mess up and can’t unravel things, simply revert the copied file to the original filename and you are back where you started.


    daveng64
    Member

    @daveng64

    hnla,
    Thanks for the tip…I hadn’t thought of that. Not being a developer/programmer and being a brand new BP user, I’m wrapped up just trying to work & find my way through all the other issues….Easy to lose focus. Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Child copy of Child copy?’ is closed to new replies.
Skip to toolbar