我正在使用Wordpress中Jetpack的订阅表格。我已经使用自定义js尽我所能来增强Boostr的jetpack格式,但是似乎不能摆脱Bootstrap提供的讨厌的边界-内部。在Chrome,Firefox和Safari(MacOSX)以及iOS上也会显示相同的内容。如何摆脱这个令人毛骨悚然的内部边界?
javascript - Wordpress Jetpack引导电子邮件输入中不需要的边框-LMLPHP

Page illustrating the problem!

<div id="blog_subscription-2" class="widget widget_blog_subscription jetpack_subscription_widget">
    <h3 class="sidebar_title"></h3>
    <form action="#" method="post" accept-charset="utf-8" id="subscribe-blog-blog_subscription-2" class="input-group mb-3">
        <div id="subscribe-email" class="form-control">
            <label id="jetpack-subscribe-label" class="screen-reader-text" for="subscribe-field-blog_subscription-2">Email Address</label>
            <input type="email" name="email" required="required" class="required" value="" id="subscribe-field-blog_subscription-2" placeholder="Email Address">
        </div>
        <div id="subscribe-submit" class="input-group-append">
            <input type="hidden" name="action" value="subscribe">
            <input type="hidden" name="source" value="https://gurueap.com/reconstructing-trends/">
            <input type="hidden" name="sub-type" value="widget">
            <input type="hidden" name="redirect_fragment" value="blog_subscription-2">
            <input type="hidden" id="_wpnonce" name="_wpnonce" value="3f90b6cdaf">
            <button type="submit" name="jetpack_subscriptions_widget" class="btn btn-primary">Subscribe</button>
        </div>
    </form>
</div>

最佳答案

可以使用以下样式解决

#subscribe-email input
{
    border: none !important;
}

09-19 18:52