Resolvedchanges after updating the theme

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #21157
    morenavecchi
    Participant

    Hello,
    I’m working on http://www.ilgiardinodellezucche.it and I’m finished at 99%. I did 2 manual changes:
    1- I have to hide menu responsive in Zass-responsive.css
    2- In product page I’ve translate manually “Refine products”, “Sort by” and “Show” in italian.

    This changes have been replaced when I’ve updated the theme.

    What can I do to make my changes permanent?

    I’m already using Zass child theme

    Thnaks

    Stefano

    #21178
    Althemist
    Keymaster

    Hello morenavecchi,

    If you edited the zass-responsive.css directly in the theme folder – that’s normal. Any file you modify must be copied in the child theme (keeping the same folder structure of course) and edited there. e.g. – for the zass-responsive.css you’d need to create a folder named “styles” under zass-child and copy the file there. After that, you can edit the files.

    As for the translation, if done the right way it can’t be affected by an update. I’d suggest using a plugin like Loco Translate for any edits on text strings:

    Loco Translate

    hope this helps.

    Regards,
    Dimitar

    #21734
    morenavecchi
    Participant

    Helo Dimitar,
    apologize me 🙂 I followed the instructions you gave me, and the translation problem I managed to solve, but the problem of the mobile menu that appears I was not able. I explain to you:
    I created a Styles folder inside the zass-child folder and copied zass-responsive.css, then I modified the file on line 86 “display:” none ” but still, after each update of the template, the menu reappears
    what step am I missing to be able to solve this problem? Thanks
    Stefano

    #21761
    Althemist
    Keymaster

    Hello Stefano,

    I hope you did not replaced the child theme too?? The child theme is not meant to be updated and there are no changes in it.

    #21769
    morenavecchi
    Participant

    Hello,
    I tried 2 ways: writing “display: none” in zass and then copying it to zass-child; or leave “display: table” in zass, then copy zass-responsive.css the file and edit it there but the result is always the same: the page always responds to changes in the parent theme.

    I made a further test: in wordpress editor of the theme I modified zass-responsive (parent) and I discovered that the site responds to the changes of the parent theme even though it is using the child theme.
    Thanks for your patience

    #21807
    Althemist
    Keymaster

    Hello morenavecchi,

    May be you’re missing the main purpose of child-themes and how do they work.

    Child-themes are just an “addition” to the main theme. The parent theme is always active and the child theme overwrites some of it’s parts. I’d suggest leaving the parent theme without changes and only make changes in the child theme CSS files. This way, any time you update the parrent theme, the changes will be preserved in the child theme as it is never updated.

    Hope this helps.

    Regards,
    Dimitar

    #21814
    morenavecchi
    Participant

    Hello,
    yes you’re useful! In fact I managed to solve all the problems, your assistance is fantastic! I only have this last problem: every time I update the template the responsive menu reappears … I don’t think it has to be hidden manually every time, I think there is a solution, right?

    #21844
    Althemist
    Keymaster

    Yes, you can add your custom code for the menu in the child-theme’s style.css instead of the default position in zass-responsive.css

    Just make sure you’re using the correct media-query

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register