-
AuthorPosts
-
September 12, 2021 at 3:46 pm #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.September 13, 2021 at 4:39 pm #1320755Hey,
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,
YigitSeptember 14, 2021 at 6:52 pm #1320953Hello 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.September 16, 2021 at 4:37 pm #1321261Hi,
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,
YigitSeptember 20, 2021 at 11:28 am #1321598Kidbert6.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.September 22, 2021 at 2:01 pm #1321920Hi,
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,
MikeSeptember 23, 2021 at 8:39 am #1321990Merci 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.September 23, 2021 at 8:42 am #1321991Sorry 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.September 23, 2021 at 1:05 pm #1322015Hi,
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 -
AuthorPosts
- The topic ‘The sidebar widget content appears before the footer widget content’ is closed to new replies.