Archived topic
Adjust Search Icon Position
7 replies · Started by Austin on August 4, 2021
Hi there,
simplest way would be to create a Block Element to add your login button.
And set the blocks Hook to generate_menu_bar_items and its priority to 15
This will appear after the search icon.
It will also appear on the Mobile navigation as well.
If you don't want that, then give your Buttons Block an Advanced > Additional CSS Class(es) of: hide-on-mobile
Hey David,
Ok got it. One last question. Since I have created a block element, button... would it be possible to add a short code to this button to pull up the log in form instead of directing it to the url page?
Also, if I am using the off canvas menu option for mobile, is it possible instead of hiding the button, it shows up in the menu instead of next to the menu icon? Sorry for the trouble.
would it be possible to add a short code to this button to pull up the log in form instead of directing it to the url page?
I don't think it's possible without custom development.
is it possible instead of hiding the button, it shows up in the menu instead of next to the menu icon
It can't just become a menu item of the off-canvas menu, but you can add the login link to the off-canvas menu while using the hide-on-mobile class to hide the menu bar item login button.
Let me know if you need further assistance :)
Hey Ying,
Ok thanks
You are welcome :)