This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Vertical alignment of the Compact Search Box in Fixed Nav.Menu

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Vertical alignment of the Compact Search Box in Fixed Nav.Menu Reply To: Vertical alignment of the Compact Search Box in Fixed Nav.Menu

#56737
Ernest MarcinkoErnest Marcinko
Keymaster

Hi!

Thank you for all the details it helps a lot. It looks like it’s due to the top margin, which also applies to the box in the sticky mode. I think the easiest and most convenient soluton is to use a short custom CSS to offset the margin when the sticky state is enabled:

.is-sticky .asp_m_1 {
    margin-top: 6px !important;
}

This will set the margin to 6px on the box, when the sticky container is enabled.