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

Centered Search Text

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7835
    Paul OglePaul Ogle Jr.
    Participant

    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 10 years, 3 months ago by Paul OglePaul Ogle Jr..
    • This topic was modified 10 years, 3 months ago by Paul OglePaul Ogle Jr..
    • This topic was modified 10 years, 3 months ago by Paul OglePaul Ogle Jr..
    #7847
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi 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:

    [html]input.orig {
    margin: -1px 0 0 -4px !important;
    padding: 0 !important;
    padding-top: 2px !important;
    line-height: normal !important;
    }[/html]

    Let me know how it goes!

    #7855
    Paul OglePaul Ogle Jr.
    Participant

    perfect, thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.