• i have created a Child theme from astra child theme generator website.

    But on my main astra themes header+footer+function i have some custom codes.

    On child theme iam only getting function.php file. So what will happened to header+footer custom codes?

    If i upgrade main astra theme will those code will be gone?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @tvhex,

    We are sorry for the delay.

    If you add the custom code directly to the Astra parent’s files, it will get wiped off when you update the theme. Add the code to your child theme and you will have your custom code right wherever you add it even you update the Astra theme.

    I hope it will help.

    Kind regards,
    Herman ??

    P.S. We recommend reaching out to us through our Support Portal for faster help and resolution as mentioned here.

Viewing 1 replies (of 1 total)
  • The topic ‘Child theme needs to keep my custom codes’ is closed to new replies.