Home › Forums › Support › Moving Search icon to the right on mobile.. This topic has 6 replies, 2 voices, and was last updated 5 years, 11 months ago by David. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts October 27, 2019 at 6:30 am #1045739 Peery See attachment… Is this possible? October 27, 2019 at 6:31 am #1045741 Peery /* Adds subscribe button on Mobile ONLY */ add_action( 'generate_inside_mobile_header','my_account_mobile_menu' ); function my_account_mobile_menu() { ?> <div class="mobile-bar-items menu-item-float-right"> <a class="button go-premium" title="Subscribe" href="https://eqtoption.com/subscribe/"> <span>Subscribe</span> </a> </div> <?php } Currently how I am calling the button… Thanks! 😉 October 27, 2019 at 8:00 am #1046036 DavidStaff Customer Support Hi there, try changing the priorty of your hooked element so this line: add_action( 'generate_inside_mobile_header','my_account_mobile_menu' ); becomes: add_action( 'generate_inside_mobile_header','my_account_mobile_menu' , 5 ); This should add it before the mobile menu items. October 27, 2019 at 8:06 am #1046044 Peery Perfect… but, now…. This happens.. Button stays above when search in focus. October 27, 2019 at 8:33 am #1046069 DavidStaff Customer Support Edit this line to give the subscribe element a new class: <div class="mobile-bar-items menu-item-float-right custom-mobile-bar"> Then use CSS to sets it z-index to zero: .custom-mobile-bar { z-index: 0; } October 27, 2019 at 8:37 am #1046074 Peery David.. you are the man! Thank you very much… I knew it had something to do with z-index just didnt know which/where to put it 😉 October 27, 2019 at 8:46 am #1046081 DavidStaff Customer Support It took me a couple of attempts lol You’re welcome Author Posts Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In