How to remove the unwanted border from the email input field in Bootstrap when using WordPress

I have implemented the Jetpack subscription form in WordPress and customized it using Bootstrap. However, I am struggling to remove an inner border that is causing issues within the Bootstrap framework. This border persists across different browsers and platforms including Chrome, Firefox, Safari on MacOSX, and iOS. Any suggestions on how to resolve this inner border problem? https://i.sstatic.net/ftEqU.png

Here is a page illustrating the issue!

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

Answer №1

To overcome this, you can use the following CSS code:

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

Answer №2

#subscribe-email input {
    background: #f7f7f7;
    background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    border: 1px solid #d1d1d100;
    border-radius: 1px;
    color: #686868;
    padding: 5px;
}
#subscribe-email{
    padding: 0px;
}

The CSS code above has been tested and proven to be effective.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

What is the process for creating a unique custom background similar to this one?

https://i.sstatic.net/w4J80jY8.png Hey there, I'm still trying to figure out how to create a background similar to the one in the image. I've set the right colors using linear-gradient(90deg, #7C84F3 0%, #1522E0 93.74%), but I'm having trou ...

Replacing the useEffect hook with @tanstack/react-query

Lately, I made the decision to switch from my useEffect data fetches to react-query. While my useEffect implementation was working flawlessly, I encountered various issues when trying to directly convert my code for react-query. All the examples I found ...

Exploration of measurements in Potree and Three.js

As a newcomer and non-native English speaker, please bear with me. Currently, I am working on displaying multiple point clouds simultaneously using the amazing Potree 1.4RC. However, I am looking to automatically read the height of a point cloud by analyz ...

Save the output of a knex query to a variable

I'm struggling to assign the result of a select query using Knexjs to a variable. Here is my code: function getAllCategories() { let categories; categories = database.from("categories").select("category").then(function (rows) { for (let row of ro ...

Maintaining Aspect Ratio and Adding Letterboxes with Next.js Image

In my Next.js app, there is a section dedicated to displaying selected photos from a gallery. It's crucial for this area to maintain a fixed size of 566px*425px as users navigate through images or when a photo is loading. While the layout is responsiv ...

Rendering a child component beyond the confines of its parent component in React.js: A Step-by-Step Guide

I am working with a table component that has sticky headers and dropdowns, ellipsis menus, and other complex components within the table body rows. Each row of the table contains nested table body rows, and the parent rows stick to their child rows. Howeve ...

Arranging the letters in sequence through regular expressions in PHP

I attempted to use a regular expression in php/javascript to match the order of letters. My task was to find a 4 letter word where the first two letters are in order and the second two letters are also in order, like BCEF. I wanted to accomplish this usin ...

Inquire regarding the header image. Can you confirm if the current HTML and CSS for this is the most efficient approach?

This is a preview of my website in progress (Disclaimer: I'm currently learning HTML to build this site, design comes next. I know it's not the conventional way to design a site, but oh well) Check out the site here Is the HTML code for the hea ...

Is there a way in jquery or any other method that specifically detects changes only in direct child nodes?

I came across a jQuery method called DOMSubtreeModified that can detect the insertion of child nodes within a specific DOM. However, I noticed that this method detects the insertion of all child nodes, not just the immediate ones. Is there a jQuery met ...

How can I prevent receiving redundant data and effectively manage my data?

I am currently working on adding offline support to my app. The logic I am following is to first check if there is cached feed data available. If the data is present, it will set the feeds to that cached data and display it from the cache. However, it will ...

ajax requests getting blocked after doPostBack

When a user clicks on an anchor tag, I am prompting them to download a file. In the onclick event, I am using __doPostBack to perform a partial page postback and return the downloadable file to the user. The issue I am encountering is that if the file is ...

Designing the appearance of a button in a filefield xtype

I am currently working on a web application where users can upload photos using a fileField. I have been struggling to style the button for this feature, as my attempts so far have not been successful. Initially, I tried using the element inspector to iden ...

Clear the Material-UI textfield upon form submission

After submitting the form, how can I clear the value from the TextField? All of the components in my code are functional components, not class ones. The example below shows one of the TextFields, with others similar to it. Currently, setting type='sea ...

How come the Hover effect is activated even without hovering the mouse over the text?

I have designed a dropdown menu, but I am facing an issue with the portfolio section. When I hover over the portfolio, the dropdown menu appears correctly. However, when I hover over the text of the first dropdown menu, all sub-dropdown menus from other dr ...

Creating multiple tabs in PHP using the header function can be achieved by specifying the location in

I am attempting to open a new tab using Php code: header("location:print_register.php?recpt_no=".$recpt_no); In addition, I would like to open two tabs programmatically with the following code snippet: header("location:print_register.php?recpt_no=".$rec ...

Building a modal in ReactJs

I recently started working with ReactJs and I'm attempting to implement a popup window using the onclick event. Here is the tutorial I am following - https://dev.to/skptricks/create-simple-popup-example-in-react-application-5g7f File - /src/componen ...

Discovering the document path using the form method for a download action

Website Link Purpose: Understanding document path Scripting Language Used: Jscript for form submission. javascript:downloadFile('12767'); function downloadFile(fileNbr, itemNbr) { document.forms[0].action = "/bso/external/bidDetail.sdo" ...

Replicating radio button functionality using buttons in an HTML document

I am attempting to simulate radio button behavior using normal buttons for a quiz application. Currently, my code is working as intended and permanently highlights buttons with the desired color. However, I want all other buttons in a question to be white, ...

What is the best way to retrieve combined reducers in react-redux?

I am currently experimenting with react-redux to manage states and props in a small project. Take a look at this example code: (Index.js) import React, { Component } from 'react' import { render } from 'react-dom' import { Provider ...

Ways to set control values with AngularJS

After retrieving a single record from the database for my detail view, I need to assign data to controls. Take a look at my code snippet below: var app = angular.module("MyProductApp", []); app.controller("ProductsController", function ($scope, ...