how to remove background color in bootstrap
12,669
Solution 1
#fh5co-hero .fh5co-overlay {
background-color: transparent !important;
}
Solution 2
For the record, in Bootstrap 4 this can be achieved with the bg-transparent
class.
Solution 3
Please try this:
background-color: transparent;
Related videos on Youtube
Author by
Lilan
Updated on June 04, 2022Comments
-
Lilan almost 2 years
need to remove background color of My following bootstrap
#fh5co-hero .fh5co-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 9; background: #3b3d40; // need remove background color opacity: .5; }
how can I do it?
-
JYoThI over 6 yearsPlease Explain bit more .
-
Anant - Alive to die over 6 yearslol. comment that line or remove that line
-
yılmaz over 6 yearsdid you try to remove this row of code?
-
Lilan over 6 yearscomment not succuse...
-
Lilan over 6 yearsremove also not sucess
-
Lilan over 6 yearsI need keep background color:none;
-
Bilal Ahmed over 6 yearsadd complete html code with css
-
Lilan over 6 yearsthis is bootstrap style.css line 7593
-
Bilal Ahmed over 6 yearsyour html code?
-
Lilan over 6 years<header id="fh5co-hero" data-section="home" role="banner" style="background: url(images/ship.jpg) top left; background-size: cover;" >
-
Bilal Ahmed over 6 yearsremove id
id="fh5co-hero"
-
Lilan over 6 yearswhen I remove id="fh5co-hero" banner will small
-
Bilal Ahmed over 6 yearsuse custom css (example: add css in style tag width and height)
-
-
Lilan over 6 yearssame result here
-
Aydin4ik over 6 yearsAdd this line to your stylesheet file and add your stylesheet file after the bootstrap.css on your page.
-
Gel over 4 yearsthis worked in bootstrap 4 trying remove the background overlay that card-footer has. Thanks. (2019)
-
EmilCataranciuc almost 4 yearsMake sure nothing overrides or enforces a specific style. Use Dev Tools to debug.