How to change top margin? Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › How to change top margin? This topic has 3 replies, 2 voices, and was last updated 6 years, 4 months ago by Ernest Marcinko. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts November 23, 2019 at 7:32 pm #24716 riror85Participant 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 November 25, 2019 at 1:59 pm #24730 Ernest MarcinkoKeymaster Hi! 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: .innericon { line-height: initial !important; } January 16, 2020 at 10:47 am #25302 riror85Participant Thank 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? January 16, 2020 at 2:34 pm #25307 Ernest MarcinkoKeymaster Hi, Can you please share a link where I could see this? It will be nearly impossible to get it right via guessing unfortunately. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In