Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Ajax Search Menu Bar Styling Problem
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 3 years, 2 months ago.
- AuthorPosts
- January 14, 2020 at 7:17 pm #25285
Hey,
I’m using Ajax Search in the menu bar as per your tutorial. Do you have an idea why this box is sticking to the top of my sticky menu bar, whereas the other menu items are sticking to the bottom?
I’m grateful for any help!Regards,
FlorianAttachments:
You must be logged in to view attached files.January 15, 2020 at 10:15 am #25289Hi,
Well, it is almost impossible to tell without actually seeing the issue, but I am guessing, that there is either a top margin on the parent container of those menu elements, or they are displayed as inline/inline-block with a different vertical alignment.
Try either this custom CSS:
.asp_m { display: inline-block !important; vertical-align: baseline !important; }
…or maybe this (adjust the margin):
Best,.asp_m { margin-top: 12px !important; }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
January 15, 2020 at 11:08 am #25293Thanks. It worked after setting the menu item with the search box to “inline-flex”. Although I’m not sure why that works, I found it by accident.
January 15, 2020 at 12:29 pm #25294You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.