Tagged: x
-
AuthorPosts
-
July 21, 2016 at 7:05 am #1096915
JPParticipanthi guys
i currently use the uber menu to hold my search bar
I was wondering if i could place the search bar here. As well as the My account link.
see screenshot for more details
Thanks
July 21, 2016 at 7:05 am #1096916
JPParticipantThis reply has been marked as private.July 21, 2016 at 8:59 am #1097037
Paul RModeratorHi,
You can add this in your Custom > Edit global Javascript
jQuery(function($) { $('.x-navbar .ubermenu-content-block').insertAfter('.x-brand img'); });Then add this in custom > Edit Global CSS
body .x-navbar input { height:auto; padding:5px; font-size: 18px; } body .x-navbar .ubermenu-content-block.ubermenu-custom-content { float:right; }Hope that helps
July 22, 2016 at 8:12 am #1098571
JPParticipantthanks, that’s moved it up but it has also created a few other issues
– it has moved the cart details down
– it is on the left of page even though it says float rightsee screenshot
thanks so much for your help
July 22, 2016 at 9:37 am #1098661
Paul RModeratorHi,
You can add this under Custom > CSS in the Customizer.
.x-brand { width: 85%; } body .x-navbar input { font-family: Fontawesome; } .ubermenu-search form { margin:0; }Hope that helps
July 26, 2016 at 10:04 am #1103603
JPParticipantyep. almost perfect!
Thanks
Can you just provide CSS to make button same height and horizontally aligned as the form field
also – how can i move it along horizontally closer to cart icon
July 26, 2016 at 11:01 am #1103733
RupokMemberHi there,
Thanks for writing back. Let’s use this CSS :
.ubermenu-search-submit { font-size: 14px !important; margin-top: -7px; padding: 4px 5px !important; }Hope this helps.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1096915 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
