Site logo

[Resolved] Submit Buttons in Forms – Problem

Home Forums Support [Resolved] Submit Buttons in Forms – Problem

Home Forums Support Submit Buttons in Forms – Problem

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #174119
    Dmitry Bychenko

    Hi, guys,

    How to fix this problem:

    Normally, when you create WP+GP site, Submit Buttons look like this.
    I’ve tried it on three different hostings/servers.

    But on my normal site Submit Buttons look like this.

    How to make Submit Buttons on my normal site to look that good as that good fatty buttons from example 1?

    #174175
    Tom
    Lead Developer
    Lead Developer

    Looks like you might have some CSS from a plugin overwriting the padding on the buttons.

    Can you link me to your site?

    #174303
    Dmitry Bychenko

    tradebonds.ru

    2 buttons from my example are from google feedburner plugin. i tried to reinstall the plugin, same result.
    another button – is button from the code/not from plugin. i think default css should be applied to this button, but looks like it appears with no css.

    • This reply was modified 10 years, 5 months ago by Dmitry Bychenko.
    #174319
    Tom
    Lead Developer
    Lead Developer

    The optimizePress plugin you have installed is removing padding from all buttons with this CSS:

    button {
        overflow: visible;
        padding: 0;
        border: 0;
        position: relative;
        outline: 0;
        text-transform: none;
    }

    I have no idea why they would do that, but you can overwrite it with your own CSS:

    button {
        padding: 10px 20px;
    }

    Adding CSS: https://generatepress.com/knowledgebase/adding-css/

    #174320
    Dmitry Bychenko

    thanks, Tom, it’s working.

    i’ve pasted

    button {
    padding: 10px 20px;
    }

    into your plugin simple css. hope thats what you meant.

    #174436
    Tom
    Lead Developer
    Lead Developer

    Perfect 🙂

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