Icons Fonts and update theme loss - by guilherme

This topic has 4 replies, 3 voices, and was last updated 7 years, 4 months ago ago by Olga Barlow

  • Avatar: guilherme
    guilherme
    Participant
    November 29, 2016 at 22:06

    I put in header.php some .css files to use new icons fonts. But when I update the theme, I lost all configs of fonts.
    How can I put this css and update theme normally, without lost configs?
    Thanks a lot

    3 Answers
    Avatar: 8theme
    8theme
    Support staff
    November 30, 2016 at 09:23

    Hello,

    To prevent losing changes made in header PHP we suggest you set up a child theme and copy header.php to this folder. Then do your changes there and don’t worry about parent theme updates since you will not remove/replace your child theme files.

    Regards

    Avatar: guilherme
    guilherme
    Participant
    November 30, 2016 at 11:04

    The .css too?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 1, 2016 at 16:13

    Hello,

    If you make changes in child theme style.css you won’t lose them after parent theme update.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.