Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1040494

    Hello,

    I’m creating a Enfold Child Theme.

    Unfortunately, I do not know what to change in the functions.php file. See next line; what do I have to fill in for parent-style?

    $parent_style = ‘parent-style’; // This is ‘enfold-style’ for the Enfold theme.

    Thanks in advance.

    Eric

    #1040586

    Hey ideasbyeb,
    Please use our pre-built child theme or you can use it as your base and customize it to suit.

    Best regards,
    Mike

    #1041819

    Hi Mike,
    Also I have problems with the child theme settings.
    This is because my parent site is already built and active … I have installed the child theme but I can not get him to acquire the settings and css of the parent. Please help me.
    Thank you !

    #1041826

    Hi!


    @sachasilvestri
    Please go to Enfold child theme options > Import & Export tab and import parent theme options.

    Best regards,
    Yigit

    #1041831

    Hi Yigit
    I’m sorry, I can not find “Enfold child theme options”
    I only have Enfold> import / export> Export theme settings (which makes the file download)

    or I can go up – “look” where I can see that there is the child theme, have a preview in real time, or make it active …
    I can not find anything else about it
    Please check personally if you can, thank you.

    I hope in a prompt reply
    Best reguards!
    Sacha

    #1041891

    Hi,
    Thank you for the login, I enabled your child theme and found the plugin “health check” was causing problems with the parent theme import settings, I disabled the plugin and the import of the parent theme settings worked well
    This is what the button looks like:
    2018-12-06-204515
    Please clear your browser cache and check.

    Best regards,
    Mike

    #1041961

    Prfect, that’s what I needed, but now everything has changed ….

    please help me understand …
    from now I can work daily on the child theme and all the changes will be automatically assimilated even in the parent theme? .. but in live there is the son theme?
    and if something goes wrong how can I not make the changes effective?
    and what about updates and important changes, such as the update of enfold 4.5.1 where do I install it? on the child theme, on the parent theme or both?

    I have updated from the subject Child and I see that even the parent seems updated, however I have disappeared the previews in the research ajax that I had put through css recommended by you, how can I make them reappear?

    .

    I do not know how to proceed with the daily work .. Thanks

    • This reply was modified 5 years, 11 months ago by Marco.
    #1042030

    Hi,
    With daily work, make your changes within the child theme only, do not switch back and forth with the parent theme.
    The parent theme will not show your changes if you switch back, consider the child theme as your custom theme.

    For past customizations you can switch back to the parent theme one more time to get all of your custom functions.php codes, (only the codes you added, not the whole file) save them to a text file, like “Note Pad” on Windows or “TextEdit” on OSX, and then place them in the child theme functions.php.
    Your parent theme Quick CSS should have copied over to the child theme Quick CSS, but if it didn’t, go ahead and do that too.
    If this is confusing we can assist.

    When you update, stay in the child theme, updating will update the parent theme and the child theme will know the difference automatically. If you update via FTP, the replace the “enfold” folder, not the “enfold-child” folder.

    Please let us know if you have any other questions.

    Best regards,
    Mike

    #1042038

    thanks, you’re really great .. but I’m hard to understand :-D
    I understood one thing, I will only work with the son theme.
    after that, the css code seems to work regularly, the size of the breadcrumbs and the ajax search previews are correct, but only the frame and not the photograph appear (private link) and I ask you if possible to check how you solve this problem .

    for the rest I think I’ll have to get used to working with these changes.
    Best regards
    Sacha

    #1042050

    Hi,
    I took a look at the private link in both the child theme and parent theme and saw no difference, so I’m not quite sure what is not working.

    only the frame and not the photograph appear

    where does the photograph appear on the search results page you linked to, can you include a screenshot of the correct page layout so we can investigate?

    Best regards,
    Mike

    #1042063

    Hello!
    After a few attempts I managed …. I had to copy the loop-search file that had been changed by enfold and paste it into enfold-child creating the “include” subfolder and editing the loop file again as per instructions (https: // kriesi.at/support/topic/add-featured-image-to-search-results/)
    so the previews have reappeared!
    I’m not sure it’s the process, if there’s a better way, please tell me.
    Best regards
    Sacha

    • This reply was modified 5 years, 11 months ago by Marco.
    #1042300

    Hi,
    Oh I see now, you did the correct process, well done.
    Unless there is anything else we can assist with on this issue, shall we close this then?

    Best regards,
    Mike

    #1042412

    Hi, Really nor at the moment.
    Thank you very much
    Havve a beautifoul day !

    #1042457

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Enfold Child Theme’ is closed to new replies.