Centered Search Text

This topic contains 2 replies, has 2 voices, and was last updated by Paul Ogle Paul Ogle Jr. 8 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7835
    Paul Ogle
    Paul 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 8 years, 1 month ago by Paul Ogle Paul Ogle Jr..
    • This topic was modified 8 years, 1 month ago by Paul Ogle Paul Ogle Jr..
    • This topic was modified 8 years, 1 month ago by Paul Ogle Paul Ogle Jr..
    #7847
    Ernest Marcinko
    Ernest 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:

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


    #7855
    Paul Ogle
    Paul Ogle Jr.
    Participant

    perfect, thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.