-
AuthorPosts
-
September 20, 2019 at 11:36 am #1140184
I have 4 columns for my footer and I just need content in 1 and 4.
The problem is that Enfold injects content in the empty ones. Why?
How to fix it?
Thanks.
September 20, 2019 at 5:27 pm #1140262Hey peterolle,
Have you checked the Appearance > Widgets area?
Best regards,
Jordan ShannonSeptember 20, 2019 at 5:37 pm #1140269Yeah, that’s exactly the problem, I have to have something in each one of them. If I remove something, enfolds populated them with pages or something else.
I need 2 and 3 empty.
Thanks.
September 20, 2019 at 5:52 pm #1140281Hi,
Please refer to the following:
https://kriesi.at/support/topic/editing-footer-contents/
Best regards,
Jordan ShannonSeptember 20, 2019 at 6:42 pm #1140303Ok, so it is not possible, I have to have something even if I don’t want to.
Thank you.
September 20, 2019 at 7:11 pm #1140315Hi,
It can be hidden via css I’m sure. Do you have a link?
Best regards,
Jordan ShannonDecember 2, 2019 at 1:31 pm #1161857The idea is not to hide it. Is to respect what I have in the footer widgets section.
No widget = no content.
The problem is that No Widget = Content Enfold decides.
That is what I want to fix, not hide all possible things using CSS.
Thanks.
December 4, 2019 at 2:02 pm #1162591Hi,
Thank you for the clarification.
If you don’t want to display the “dummy” or default widgets when the footer is empty, edit the footer.php file, look for this code around line 137:
if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column'.$i) ) : else : avia_dummy_widget($i); endif;
.. replace it with:
if (function_exists('dynamic_sidebar')) { dynamic_sidebar('Footer - column'.$i); }
Best regards,
IsmaelDecember 5, 2019 at 12:30 pm #1162930Thank you. That should be the default. Adding widgets just because and without asking it is not good.
Is there a function to do it? Having to modify the footer in every update is not something I am looking to do.
Thanks.
December 6, 2019 at 5:16 am #1163289Hi,
Thank you for the update.
You can modify the footer template in your child theme. If you don’t have a child theme yet, then it’s always advisable to create one. Unfortunately, you can’t use any function to override the dummy widgets.
// https://kriesi.at/documentation/enfold/child-theme/
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.