You need to override your css so you can change the background to black. A simple way to do this is to create a custom css class (you can either put this in a <style type="text/css">
tag in your HTML or put this in a separate CSS file)
.black-background {background-color:#000000;} .white {color:#ffffff;}
Then, give your button these classes
<input type="submit" class="btn btn-primary black-background white" value="Text" />
Related Posts:
- Vertical Align Center in Bootstrap
- Bootstrap NavBar with left, center or right aligned items
- Changing the width of Bootstrap popover
- Bootstrap transparent navbar
- CSS reset – What exactly does it do?
- When to use margin vs padding in CSS [closed]
- SVG center horizontal and vertical line
- Is it bad practice to comment out single lines of CSS with //?
- How to draw a half circle (border, outline only) [closed]
- What is the difference among col-lg-*, col-md-* and col-sm-* in Bootstrap?
- CSS Circle with border
- Customize Bootstrap checkboxes
- Set parent style via child
- How do I change the background color with JavaScript?
- Centering a background image, using CSS
- not:first-child selector
- What is sr-only in Bootstrap 3?
- CSS: center element within a element
- How does the data-toggle attribute work? (What’s its API?)
- what is a parse error and how do I fix it
- Adding images to a Bootstrap Carousel with AJAX
- Bootstrap 4 images thumbnail classes
- How to set up fixed width for
? - How to push a footer to the bottom of page when content is short or missing?
- Linking to a pdf file with html
- Change TD border color with HTML or CSS
- css to make bootstrap navbar transparent
- Bootstrap 4, How do I center-align a button?
- Responsive Bootstrap Jumbotron Background Image
- Why adding version number to CSS file path?
- Hide text using css
- Changing the width of Bootstrap popover
- TypeError: $(…).modal is not a function with bootstrap Modal
- How to center vertically and horizontally a div using Bootstrap?
- CSS background color not working
- How to center content in a Bootstrap column?
- How to center image in carousel
- Bootstrap throws Uncaught Error: Bootstrap’s JavaScript requires jQuery
- How to give spacing between buttons using bootstrap
- how to center form using bootstrap 4
- jQuery toggle CSS?
- Can Twitter Bootstrap alerts fade in as well as out?
- 100% DIV width is not really 100%
- CSS selectors ul li a {…} vs ul > li > a {…}
- vertical divider between two columns in bootstrap
- Bootstrap scrollable panel
- bootstrap 4 row height
- Bootstrap change carousel height
- Twitter Bootstrap – add top space between rows
- CSS checkbox input styling
- Table fixed header and scrollable body
- How to increase height of textarea using bootstrap rows and columns
- Bootstrap 3 Glyphicons CDN
- Background color in input and text fields
- How can I change the Bootstrap default font family using font from Google?
- CSS3 opacity gradient?
- CSS3 background image transition
- Why is my Bootstrap code not working?
- img-responsive in Bootstrap does not work
- Set textarea width to 100% in bootstrap modal
- Creating Accordion Table with Bootstrap
- How to import Google Web Font in CSS file?
- In a bootstrap responsive page how to center a div
- How to make Bootstrap Panel body with fixed height
- Change navbar text color Bootstrap
- Bootstrap Collapse not Collapsing
- How to make div background color transparent in CSS
- What is better way to use Bootstrap inside admin panel?
- Make shortcode’s Bootstrap CSS override the theme’s CSS, how?
- How to add class to and childs of sidebar widget – WordPress
- Redoing home page but changes not taking effect
- How do I get row padding in a post feed?
- How do I add Bootstrap and LESS to my migrated WordPress site?
- Side Menu Icon Expandable
- Bootstrap and Custom CSS in custom plugin are being overwritten by theme
- WordPress Multiple Navigation bars
- WordPress style.css not updating, only after theme reload
- Grid post page on WordPress with Bootstrap, the_excerpt(); Problem
- WordPress + Bootstrap [closed]
- How to remove the gap on right side of webpage (using Bootstrap with WordPress)?
- How to style bootstrap container in wordpress theme?
- All of my custom Bootstrap styles are not working in my child theme!
- How to implement CSS-defined images from bootstrap site in wordpress theme
- Why I obtain different visualization when I run the website on my local machine and on remote server?
- Change class names dynamically added to html elements by wordpress
- Modal dialog under the backdrop
- Is there any known plugins that would replace WordPress classes in editor with their Bootstrap 4 equivalent?
- How to reference different css (bootstrap) stylesheets for the header and body of a page?
- Stuck while adding bootstrap navwalker class
- jQuery Validation plugin and Bootstrap 4 CSS classes
- How to create a mobile menu full screen overlay using Understraps Bootstrap 4 theme
- Bootstrap News: Image Modifciation
- Can’t center post thumbnail with bootstrap [closed]
- Custom Thumbnails [closed]
- WP Media Uploader modal conflicts with Bootstrap modal
- Why the slideshow is not shown in my theme?
- Bootstrap 4 Optimization
- Parent style messing up with Bootstrap [closed]
- Bootstrap navbar-fixed-top issues [closed]
- How to make a page extend full screen [closed]