• Resolved johnnychao

    (@johnnychao)


    Hi guys! For Ajax search, I’m using the free version atm, but would be happy to upgrade if it can solve my problem. I’m wondering is there anyway to change the width of the search bar for desktop visitors, whilst keeping the search bar centered? I’ve tried adjusting the width of the search bar under Ajax search’s layout options, and although it decreases the width, it also causes the search bar to be aligned to the left, not centered. Even if I center the search bar short code, its still not centered. Any ideas how to fix this? Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    Well, you can try centering the search via this custom CSS:

    .asl_m {
        margin: 0 auto !important;
    }

    After changing the width on the back-end, this should keep it centered.

    Best,
    Ernest M.

    Thread Starter johnnychao

    (@johnnychao)

    Thank you WPDreams! It worked! I just left a five star review as well! ??

    Plugin Author wpdreams

    (@wpdreams)

    Thank you ?? I will mark this as resolved then.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change search bar width and center’ is closed to new replies.