Home › Forums › WoodMart support forum › Mobile Sticky navbar doesn't work with using header from elementor pro
Mobile Sticky navbar doesn't work with using header from elementor pro
- This topic has 12 replies, 2 voices, and was last updated 4 years, 1 month ago by Artem Temos.
-
AuthorPosts
-
October 26, 2020 at 11:11 am #236167
mirarosenParticipantI thought your theme was compatible with elementor so this part I just notice before Im actually launching my site. I really hop its a way to fix this. So please help.
I attached a screenshot when you can see the Mobile Sticky navbar so you know what I mean. So there it works because its woodmarts header. But If I use elementor header from templates it disappears.
Hope for help 🙂
Attachments:
You must be logged in to view attached files.October 26, 2020 at 12:17 pm #236201
Artem TemosKeymasterHello,
Try to add the following PHP code snippet to the child theme functions.php file to fix this
remove_action( 'woodmart_before_wp_footer', 'woodmart_sticky_toolbar_template' ); add_action( 'wp_footer', 'woodmart_sticky_toolbar_template' );
Kind Regards
October 26, 2020 at 3:25 pm #236264
mirarosenParticipantIt did work!! :)Thank you so much!
I saw as well did appar on tablet correctly so thats great.
Last question is possible to have the “mobile” sticky navbar as well on desktop view?
October 26, 2020 at 3:37 pm #236265
Artem TemosKeymasterSorry, but this navbar is designed for mobile devices only. You may need to perform additional customization to make it display on other devices also.
October 26, 2020 at 6:42 pm #236319
mirarosenParticipantNo problem about the desktop question.
But sadly I found a problem now even the mobile sticky nav shows up when having header from elementor. I cant click on on it. I use android samsung. The icons to account and favourites does work. But nothing happens when clicking on the “bag” for se the cart on the side and check out. I sent the link so you can try it privately on what I mean. If you want admin loggin I can give you that.
October 26, 2020 at 7:06 pm #236320
mirarosenParticipantBy the way. I have notice before as well problems with the cart icon you have in header and footer when I one time ty to add cart page in the end of same page where I had my products. I havent sent in this and issue but got reminded of it now and normally that works with other themes with woocommerce and elementor.
Thanks in Advanced!
October 27, 2020 at 7:21 am #236396
Artem TemosKeymasterYou are using some custom shopping cart widget and our button doesn’t trigger this widget. It means that you need to customize the navbar code and place your custom button there.
October 27, 2020 at 7:44 am #236403
mirarosenParticipantIts is cart from elementor you saw on the example. But thats not the problem because I dont need to have it there.
The problem is that if it any other header in elemntor (even without another cart) your cart doesnt work.
October 27, 2020 at 8:03 am #236411
mirarosenParticipantHere is an example. https://bestall.app/b/product/ahlgrens-bilar-modell-a16-125g/
I made this header in elementor and it shows now on all products. So now you can see that the same issue is even if do not add the elementor cart in it.
October 27, 2020 at 8:51 am #236428
Artem TemosKeymasterYes, since the Elementor header has its own shopping cart and our shopping cart is not displayed at all. But the sticky navbar has a button that opens our theme’s shopping cart (not the one from Elementor).
October 27, 2020 at 11:08 am #236478
mirarosenParticipantYes your shopping cart is displayed with the “mobile sticky navbar”
The topic of my issue in this thread is about getting the “mobile sticky navbar” not working when using a elementor header template. Sorry if misunderstandings here.
I attach a screenshot showing that its there in the “mobile sticky navbar” But the problem is that it doesn’t work when you click on it. Nothing happens.
October 27, 2020 at 11:10 am #236479
mirarosenParticipantSorry the image was to big. I resend it here aging
Attachments:
You must be logged in to view attached files.October 27, 2020 at 2:08 pm #236517
Artem TemosKeymasterYes, the button doesn’t work since you have replaced our header with Elementor. And by doing this, you have removed our theme’s shopping cart from the page. The sticky mobile navbar cart button doesn’t open Elementor’s cart widget. It should open our theme’s widget only.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register