Hi
I actually could not find any solution so I just ask for what I try to do.
This is the draft of a website:
https://im-focus.jetztweb.ch
I would like to put the image on top between the Logo and the nav menu.
The logo on Top is added thought a widget in the header.
Which CSS would help here?
Thank you so much for your help, I really appreciate that.
Simon
Hey Bodyworkcenter,
Thank you for the inquiry.
You can try this script in the functions.php file to move the widget between the logo container and the alternate menu.
// a custom script
// move widget between logo and menu
function ava_custom_script_mod_move_widget() {
if ( wp_script_is( 'avia-default', 'registered' ) ) {
wp_add_inline_script( 'avia-default', '
(function($) {
$(document).ready(function() {
$("#header .widget").insertAfter(".av-logo-container");
});
})(jQuery);
');
}
}
add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod_move_widget', 9999);
Best regards,
Ismael
Hi Ismael
Worked out perfectly.
Thank you very much.
Simon
Hi,
Glad Ismael could help! :)
For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/
If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)
Enjoy the rest of your day!
Best regards,
Yigit