Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Centered Search Text
This topic contains 2 replies, has 2 voices, and was last updated by Paul Ogle Jr. 7 years, 9 months ago.
- AuthorPosts
- March 1, 2016 at 9:48 pm #7835
Hi,
I’m trying to figure out why my text in my text box isn’t centered. Is there a way it can be adjusted upwards a little to be centered vertically in the box? http://screencast.com/t/BitXo7S7XdU4 On the back end in the preview pane it looks centered but its not on the front end. It looks like when I change my theme it goes back to centered. Is this fixable with my theme?
I should add that I tried these suggestions from the knowledge base: https://wp-dreams.com/knowledge-base/style-changes-does-not-apply-after-saving/ but they didn’t seem to make a difference.
Thanks,
Paul-
This topic was modified 7 years, 9 months ago by
Paul Ogle Jr..
-
This topic was modified 7 years, 9 months ago by
Paul Ogle Jr..
-
This topic was modified 7 years, 9 months ago by
Paul Ogle Jr..
March 2, 2016 at 10:05 am #7847Hi Paul,
It’s a bit hard to tell wihtout actually seeing the problem, but from what I see on the screenshot I’m guessing that the theme probably applies a higher specificity margin, padding or line height to input fields, including the plugin input.
If that’s the case, then this custom CSS snippet should solve the problem:
input.orig { margin: -1px 0 0 -4px !important; padding: 0 !important; padding-top: 2px !important; line-height: normal !important; }
Let me know how it goes!
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 2, 2016 at 3:12 pm #7855perfect, thanks!
-
This topic was modified 7 years, 9 months ago by
- AuthorPosts
You must be logged in to reply to this topic.