I have a select tag in my Angular project that I want it to look like others tags as you see in the image. What should I do to change CSS background from the select to be pure white as the others tags.
I've tried using background: white; background-color: white; in style but it still a shadow grey on it.
The final code is like this image: Image
https://stackblitz.com/edit/angular-ivy-ev6e4w?file=src%2Fassets%2Fbootstrap.min.css
If you have Bootstrap installed in you're project, Just add form-control class
Related
I am new to WordPress and cannot find a way to add my custom color to tabs element. I am using weberium theme. I have also tried custom css but it makes no effect on the color of tabs. Everything else can be changed. Please help.
You can set the below css in your theme css file and try important property if not working
.wpb-js-composer .vc_tta-color-blue.vc_tta-style-classic .vc_tta-tab>a {
background: #333;
}
I'm using twitter bootstrap and I wanna set my page background-color to #f8f8f9. But I think the twitter bootstrap default white background is getting in the way.
I read and tried the methods in these as well:
How to change twitter bootstrap background color
How to change the default background color white to something else in twitter boostrap
assign background color in twitter bootstrap 3
I tried
body{ background-color: #f8f8f9 !important};
in an external CSS file and inline as well. But none worked.
Any idea how to overcome this problem?
Thanks in advance!
Use Less. In there, it's just a color variable that needs to be changed. Then, compile it again and your new background color should apply.
If you are not sure where to begin, this generator should help you: http://bootstrap-live-customizer.com
your Code work well,color with Hex ID #f8f8f9 is what you see after run code.
http://www.color-hex.com/color/f8f8f9
I offer try this code and see work or not?
body {
background-color: #3b3ba9 !important;
}
if work well so your code is ok, else find css rule that overlap this rule.
I installed triggered scrollbox and it's working but text box where you have to write your e-mail has white background and white font(font for whole theme is white). SO i would like to change it to any other color.
Thing is that i can't acces CSS to change it so i have to do it somehow in HTML but i don't know how.
This is the code:
[gravityform id="9" title="true" description="true"]
So question is how can I modify this gravity form code that change color of font?!
Vital information: other solutions can't help(CSS, etc.) bcs wordpress there is bought and it's pretty limited so i'm looking for a solution in HTML that can be implemented particulary in this line code.
You can set styles for input element in your HTML like this:
<input style="color: pink !important; background-color: black !important">
May be you need (may be not) to add !important to your styles to overwrite existing ones.
You can install plugin for custom css and add your custom css there to overide gravity form css.
Here is one simple plugin to do that: Cssor
Write the below css in your style.css
input{
color: #000; // if it is not applying, use ! important
}
It works for all input boxes
I have this bootstrap and custom css that generates nice "books on shelves". When I use the code itself it works. But when I insert the code in the div:
<div class="panel panel-default">....code from the link...</div>
suddenly the shelves disappear. I noticed that somehow pseudo elements (:before, :after) stop working when I use them in panels. Do you have an idea what is going on? Please help :)
bootstraps panel has a background color of white that overrides your :before and :after css.
.panel {
background-color: #fff; /*GET RID OF THIS*/
}
(you can choose to do this in different ways:
you can change the native bootstrap (not recommended, and you cant if you're using cdn).
add a different class on the panel and put this code in:
.newClass { background-color: none !important; }
(you can use none or transparent) either one will get your shelves css back
When you hover the mouse over a link, it shows a background like this:
But I want it to look like this:
I am currently on a Maven/web application project with the JSF Framework. And the links are generated by <h:link>. In regular html/css its easy to make it look the second pic, but It wont work with JSF. How should i do it?
The css for this would be
element:hover{
background: none;
text-decoration: underline;}
Replace element with the class or id of that html element.