WordPress.org

Ready to get started?Download WordPress

Forums

SI CAPTCHA Anti-Spam
CSS Not Working (2 posts)

  1. ELsMystERy
    Member
    Posted 1 year ago #

    The CSS for .captcha_code/#captcha_code is hard coded into the input field which prevents it from being styled.

    <input id="captcha_code" name="captcha_code" class="input" type="text" value="" size="12" tabindex="30" '.$si_aria_required.'

    style="font-size: 24px;

    width: 97%;

    padding: 3px;

    margin-top: 2px;

    margin-right: 6px;

    margin-bottom: 16px;

    border: 1px solid #e5e5e5;

    background: #fbfbfb;"

    /></label>

    I need to remove the style portion from si-captcha.php so my CSS will work, but don't want to have to do it every time the plugin is updated. Can this be fixed?

    http://wordpress.org/extend/plugins/si-captcha-for-wordpress/

  2. bryan1fm
    Member
    Posted 1 year ago #

    In your own stylesheets you can use !important after any style you don't want changed by another style declaration. For example, to set the font size to 16 pixels and not have it changed later, you would use:

    #captcha_code
    {
    font-size: 16px !important;
    /* etc */
    }

    A quick internet search shows that browser support for this is very good.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.