-
AuthorPosts
-
March 15, 2021 at 2:29 pm #1288284
Hai I’m trying to add a footer thats a wide as my website.
I want it to sit on top of the other three footers.I found this one in support (to add to my functions.php)
add_action(‘avia_before_footer_columns’,’avia_footer_top_column’);
function avia_footer_top_column(){
dynamic_sidebar( ‘footertop’ );
}But I get a error code
I cannot see the full code. It sits on top of my menu and even shifts my menu down
columns’,’avia_footer_top_column’); function avia_footer_top_column(){ dynamic_sidebar( ‘footertop’ ); }See screenshot in the private content
March 18, 2021 at 7:43 am #1288892Hi JCEmanuels,
We apologize for the delayed response.
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( to be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Best regards,
NikkoMarch 19, 2021 at 10:11 pm #1289279This reply has been marked as private.March 22, 2021 at 9:19 am #1289572Hi JCEmanuels,
Thanks for giving us admin access.
I have added your code in functions.php and it worked properly, maybe it was just missing the opening php tags before.
As for using multiple fonts in a single page, we don’t have that option but if you go to Enfold > Advanced Styling, you should be able to change the font for specific elements, for example the heading tags.
Hope this helps.Best regards,
NikkoMarch 24, 2021 at 8:31 pm #1290229Thanks, the footertop works. How can I change the background of only the footertop?
And is there a way to adjust the height of the footertop?March 27, 2021 at 7:36 am #1290699Hi JCEmanuels,
To change the background for the footer top only, please add this code at the bottom of your child theme’s functions.php file:
function move_footer_widget(){ if (is_single()): ?> <script> (function(){ var footer = document.querySelector('#footer'); var widget = document.querySelector('#custom_html-7'); footer.insertBefore(widget, footer.childNodes[0]); })(); </script> <?php endif; } add_action('wp_footer', 'move_footer_widget');
Then add this CSS code in Enfold > General Styling > Quick CSS:
#footer { padding-top: 0; } #footer #custom_html-7 { margin-top: 0; padding-top: 30px; background-color: #73caa1; }
Just change the background color.
As for the height of the footertop, you can add a min-height attribute inside #footer #custom_html-7
Hope this helps.Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.