I’ve tried two methods to add a button into the header, to the right of the logo. When I try this method…
add_action( 'ava_main_header', 'enfold_customization_add_to_header' );
function enfold_customization_add_to_header() {
echo do_shortcode("[av_button label='Work With Me!' link='manually,http://WEBSITE/work-with-me/' /link_target='' size='medium' position='right' icon_select='yes' icon='ue82b' font='entypo-fontello' color='custom' /custom_bg='#ed3437' custom_font='#ffffff' custom_class='']");
}
The button is added, but I need to reposition it.
– It is currently pushing the logo down the height of the button, and I need the image more in line.
– The button is forced to the top right, and I would like to reposition.
– Although I think I have the background color set to red (#ed3437) in the code above, it’s not red, it’s gray.
Suggestions?
Screen shot to help explain…
http://spidercreations.net/wp-content/uploads/2015/12/jump-header.jpg
Thanks in advance,
Steve
Hi spidercreations!
Try the “ava_after_main_menu” hook instead.
Regards,
Elliott
Sorry, what do I replace?
Steve
Actually, I just tried to replace
ava_main_header
with
ava_after_main_menu
and that put the button below the search icon and doubled the height of the navigation area.
Another suggestion?
Hi!
I don’t see it now. Did you remove it?
Regards,
Elliott