Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › How to change top margin?
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 3 years, 4 months ago.
- AuthorPosts
- November 23, 2019 at 7:32 pm #24716
Hello!
How can I change the top margin on the search bar? Possible using CSS?
I am using it in the menu, but now it is pushed to the top of the menu bar/header and I want to move it down a little bit – please see the attached image.
Best regards
Attachments:
You must be logged in to view attached files.November 25, 2019 at 1:59 pm #24730Hi!
The safest way to do it would be using some custom CSS, such as:
.asp_m { margin-top: 12px !important; }
I am also noticing a possible line-height issue on your screenshot, regarding the magnifier icon, perhaps this will help that:
Best,.innericon { line-height: initial !important; }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
January 16, 2020 at 10:47 am #25302Thank you, that worked.
But the problem now is that it pushes the whole menu down (even the menu items).
I am using GeneratePress theme.
Do you know if there is a solution for this?
Attachments:
You must be logged in to view attached files.January 16, 2020 at 2:34 pm #25307Hi,
Can you please share a link where I could see this? It will be nearly impossible to get it right via guessing unfortunately.
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.