Tagged: header widget
Hi
I use the header widget quite a lot to add strap lines and telephone numbers etc. Does anyone know of a way of adding the Woocommrce Basket into the header widget. I want it in there on desktop PCs and then the floaty one when viewed on a mobile device.
When I say header widget I mean this one
add_action( 'ava_before_bottom_main_menu', 'enfold_customization_header_widget_area' );
function enfold_customization_header_widget_area() {
dynamic_sidebar( 'header' );
}
not the bar that goes above the header
Many Thanks
Regards
Colin
Hey waveseven,
Could you please attach a mockup of what you’re trying to achieve?
Best regards,
Victoria
Hi Colin,
Thanks for the screenshot, please post a link to the actual site as well so that we can have a closer look.
Best regards,
Rikard
Hi Rickard
Link posted below. What I would like to do is add a basket icon which shows the number of items in the basket, similar to the one that floats but just in the header.
Many Thanks
Regards
Colin
Hi,
It seems like you already solved the issue – the basket icon displays the number of items in the cart and uses the cart widget popup?
Best regards,
Dude
Hi Dude
Yes I did manage it. I coun’t place it in the header but with a bit of css I managed to make the basket icon visible and move it to the poition i wanted it.
Thanks
Regards
Colin