Hi all,
Still loving the theme. Have two questions.
1) Is there a way to add a widget to the topbar, same way as :
Want to use it for the WooCommerce Search Product widget. Tried adding [woocommerce_product_search] shortcode in ‘extra header info tekst’. It didn’t work
2) Displaying the including and excluding taxes is a bit of a CSS problem. Could change the default font size to make it work, but would really like to have it as shown on the attached picture. Is this possible?
Hey Ivo,
Thank you for the inquiry.
1.) You can use the avia_meta_header hook to insert additional content in the top bar. Usage is the same as the ava_after_main_menu hook as shown in the documentation.
2.) We cannot find the shop page in the site. Please provide a direct link to the shop page so that we could inspect it.
Best regards,
Ismael
Hi Ismael,
Thanks for the response.
Problem 1) It didn’t work
Problem 2) No longer needed.
Hope you can help me with the first one!
Hi,
Thank you for the inquiry.
Would you mind posting the changes that you did with the previous code using the avia_meta_header hook?
We were able to login to the site but the Appearance > Editor panel is not accessible, so we could not edit the files. Please enable the local editor or post the FTP details in the private field.
Best regards,
Ismael
Hi,
Thanks for your response.
Credentials in private content
wkr
Hi,
Thank you for the info.
We adjusted the code in the functions.php file and added another filter. The search widget is now displaying in the top bar but requires a bit of css modification.
// Header Widget in topbar
add_action( 'avia_meta_header', 'enfold_customization_header_widget_area' );
function enfold_customization_header_widget_area() {
dynamic_sidebar( 'Header' );
};
add_filter("avf_execute_avia_meta_header", "__return_true");
Best regards,
Ismael