Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1320582

    Hello,
    On one of my sites, the sidebar widget content appears before the footer widget content. This only happens on the home page. I don’t understand the reason. On my other sites I don’t have this problem.
    Also, on the home page of this site the sidebar does not contain any widgets yet they appear in the “Sidebar pages” widgets.
    Could you help me?
    Thank you.
    Kidbert6.

    #1320755

    Hey,

    I see that you have modified header.php and footer.php files on your child theme. Could you please copy fresh version of these files and update them on your child theme? Also, please see private content field below.

    Best regards,
    Yigit

    #1320953

    Hello Yigit,
    I don’t understand what I have to do…
    Where is the new version of header.php and footer.php files?
    I saw what was on the link https://pastebin.com/MZ8uMhcJ.
    I see two files:
    1- Untitled
    2- RAW Paste Data
    What are these files?
    What should I do with these two files?
    Thank you for telling me what I should do.
    Best regards.
    Kidbert6.

    #1321261

    Hi,

    1- You can copy header.php and footer.php files from Enfold parent theme and then re-apply the changes you made on those files on your child theme.

    2- They are actually the same code. It is not a CSS code therefore should not be in Style.css file. Part of the code I attached in private content field should go to functions.php file of your child theme

    Best regards,
    Yigit

    #1321598

    Kidbert6.enfold-child theme.
    I copied the contents of the header.php file into the header.php file of my enfold-child.
    I copied the contents of the style.css file into the style.css file of my enfold-child.
    I copied the content of the private field that you attached to me in my functions.php file.
    When I refresh my site, I get an error that displays
    There has been a critical error on this site.
    Learn more about debugging WordPress.

    To restore access to my site I am forced to remove the content you gave me and put back the content that was there.
    The original problem is not solved.
    I think I didn’t understand what I have to do with the functions.php file. I just copied what you gave me. Maybe that’s not what I should do?
    I thank you for your patience with me.
    Sincerely.
    Kidbert6.

    #1321920

    Hi,
    Thank you for your patience and for the login, I found that your child theme was broken because the stylesheet header didn’t have the template rule, it was just a copy of the parent theme stylesheet, I corrected this for you, I also found that your functions.php had a function to assign the stylesheet but this is not needed so I commented out, and I found that the header.php was empty so I corrected.
    If you are not going to modify the header.php & footer.php then I recommend deleting these files in your child theme so when the parent theme is updated you will use the updated versions.
    I also found that your homepage had the sidebar turned on, it seems from your post above you didn’t want this so I disabled it.
    Please check your site now.

    Best regards,
    Mike

    #1321990

    Merci Mike.
    Je n’ai pas tout compris mais je vais prendre mon temps pour vous relire. Je ne parle pas anglais, j’utilise un logiciel de traduction, et elles ne sont pas toujours précises.
    Encore merci beaucoup.
    Amicalement.
    Kidbert6.

    #1321991

    Sorry I forgot to translate into English…
    Thanks Mike.
    I didn’t understand everything but I will take my time to read you again. I don’t speak English, I use translation software, and they are not always accurate.
    Thank you very much again.
    Thank you very much.
    Kidbert6.

    #1322015

    Hi,
    Heureux d’avoir pu vous aider, si vous avez d’autres questions, veuillez créer un nouveau fil de discussion et nous le ferons essayer de vous aider avec plaisir. Merci d’avoir utilisé Enfold.

    — Translated with Google —

    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘The sidebar widget content appears before the footer widget content’ is closed to new replies.