Home › Forums › Support › Add element using menu_bar_items hook below menu in Off Canvas Panel This topic has 7 replies, 2 voices, and was last updated 2 years ago by Ying. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts October 25, 2022 at 11:15 am #2386006 Brenden I have a button in an Element that displays using the hook menu_bar_items. It looks great on desktop (https://share.getcloudapp.com/nOubrmGB). The problem is on mobile (https://share.getcloudapp.com/OAuj1rOE). On mobile, I would like to remove the button from the header and show it below the menu in the Off Canvas Panel (https://share.getcloudapp.com/NQujmZbA). What is the best way to solve this problem? October 25, 2022 at 2:18 pm #2386298 YingStaff Customer Support Hi Brenden, Can you link us to your site so we can see your the settings for the header/navigation area? October 25, 2022 at 2:19 pm #2386300 Brenden https://hodgesjewelers.wpengine.com/ October 25, 2022 at 2:43 pm #2386345 YingStaff Customer Support Based on your structure, the simplest solution would be: 1. Add hide-on-mobile hide-on-tablet class to the buttonsblock, so it hides on mobile. 2. Create another block element with this button, use the after_slideout_navigation hook, add hide-on-desktop class to the buttonsblock. October 27, 2022 at 6:53 am #2389697 Brenden That works! Is there a better way to structure this type of functionality? November 9, 2022 at 2:12 pm #2408903 YingStaff Customer Support Well, if I were you, I would add the contact button as a menu items, then use CSS to position and style it. But it requires CSS skills, it’s easier to use the method I provided previously if you are not familiar with CSS ๐ November 9, 2022 at 2:50 pm #2408947 Brenden That makes a lot more sense. I like that solution. Thank you for explaining! November 9, 2022 at 3:36 pm #2408984 YingStaff Customer Support No problem ๐ Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In