WordPress.org

Support

Support » Plugins and Hacks » CSS Not Working

CSS Not Working

  • 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/

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘CSS Not Working’ is closed to new replies.