Use Own Child Theme

Use Own Child Theme

February 21, 2019
 Abhishek

  • Abhishek
    Newbie 14 points

    Hi,

    I have made some changes in the code to suit my need at https://www.couponboyz.com Whenever there is an update, I have to change the code manually.

    I tried creating child theme but CSS always break the entire website. Do anybody uses their own child theme? Can anybody share the child theme file. I watched the official premiumpress video on child theme but could not make it.

    Can anybody help?

    February 21, 2019 at 10:22 am
  • JamesD
    JamesD
    Super Guru 1,290 points

    Hello Abhishek,
    If you’re using the built-in default child theme (i.e. _coupon) then you’ll actually need to create a separate custom child theme containing the required minimum files (at least). Usually copying the /CP9/_coupon/template/images/ directory and/or the /CP9/_coupon/template/style.css file into the custom child theme will fix the CSS breaking problem.

    When in doubt you can always copy all of the default child theme files/directories from /CP9/_coupon/template into the custom child theme directory and remove files not needed.

    Hope this makes sense.

    February 21, 2019 at 11:14 am
  • Marie
    Marie
    Super Guru 1,714 points

    Thanks for sharing James :)

    February 22, 2019 at 1:55 am

  • Abhishek
    Newbie 14 points

    I’ll try when the new version comes.

    February 26, 2019 at 2:05 pm
  • JamesD
    JamesD
    Super Guru 1,290 points

    @Abhishek
    This is a plugin that will create a child theme created from the active PP theme by copying the required files. Basically a clone of it.

    You would then use the new child theme to make custom changes without messing up the original theme .

    Boiler

    It’s relatively basic currently, however if there’s enough interest I’d be willing to continue updating it with requested options/features for easier customization.

    February 27, 2019 at 2:11 am
Viewing 5 posts - 1 through 5 (of 5 total)

Didn't find what you were after?

Chat with us now

or contact our support team