• Resolved zulok

    (@zulok)


    Hi

    I use Cforms2 as a plugin and the submit button is rendering in the green default color. It uses the CSS class input[type=”submit”].

    This class is coded in options-css.php as:

    if (!empty($evolve_button_color_2)) {
    $evolve_button_color_2_border = mb_substr($evolve_button_color_2, 1);
    $evolve_css_data .= ‘
    a.more-link,
    input[type=”submit”],
    button,
    .button,
    input#submit,
    span.more a {
    background:’ . $evolve_button_color_2 . ‘;
    border-color:#’ . evolve_hexDarker($evolve_button_color_2_border) . ‘
    }
    ‘;
    }

    However $evolve_button_color_2 cannot be configured anywhere in the Redux framework. Neither does it appear anywhere else in the code.

    Any idea on how to solve it without CSS?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    If you need to change color for your plugin submit button.
    The only way is to use custom css.
    And only possible if the button has a unique css class.

    Post me URL to your button.

    Thank you

    Thread Starter zulok

    (@zulok)

    Hi Denzel

    In the rightmost widget of the footer there is a Mailpoet subscription form that uses a button. MdV. Button “Subscriure’m”

    I have added this to child style.css to change the color

    input[type="submit"], button, .button {
        background: #9e245d!important;
        border-color: #9e245d !important;
    }

    Thanks

    David

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Box colors’ is closed to new replies.