Jazzy 1012
asked on
Hover tab
Can you post the markup and CSS for this element?
I could be more specific if you had some code to display, but in general if you only want to change the style for that one element, you can add a no border style to it. An example is below.
<button style="border:none;">Share</button>
ASKER
the problem is i did inspect to see the css but im not getting any css just basic bootstrap
Try adding that style example above to the HTML element.
If you want to also remove the shadow effect you will have to edit the CSS file.
It's not to seems Bootstrap default button...
https://getbootstrap.com/docs/3.3/css/#buttons-options
To find out using Chrome rigth click on the button - Inspect
Check Style tab (at the right) it will display which is the CSS file and line of code for this button.
If this is Bootstrap CSS don't edit the original CSS just create a new file custom.css and add custom button class
and change the btn- class for btn-custom in your page
.btn-custom {
background-color: #ccc;
color: #000;
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active,
.btn-custom.hover {
background-color: #ccc;
color: #000;
}
It's not to seems Bootstrap default button...
https://getbootstrap.com/docs/3.3/css/#buttons-options
To find out using Chrome rigth click on the button - Inspect
Check Style tab (at the right) it will display which is the CSS file and line of code for this button.
If this is Bootstrap CSS don't edit the original CSS just create a new file custom.css and add custom button class
and change the btn- class for btn-custom in your page
.btn-custom {
background-color: #ccc;
color: #000;
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active,
.btn-custom.hover {
background-color: #ccc;
color: #000;
}
ASKER
@E-Dub
the solution isnt working
the solution isnt working
Can you post the HTML code you have?
ASKER
its pretty long
ASKER
i found a way which is to remove the border and background but its not working because im not sure my css order is correct
I just want the ones with the class ="social" not all of them
.social>a:hover{
background-color: none !important;
border-color: none !important;
}
<ul class="nav nav-tabs" style="background-color:#FAFAFA;font-family:Old Standard TT;font-size:20px">
<li class="active"><a data-toggle="tab" href="#details<?=$meal_option_id?>">Details</a></li>
<li><a data-toggle="tab" href="#ingredients<?=$meal_option_id?>">Ingredients</a></li>
<li><a data-toggle="tab" href="#nutrition<?=$meal_option_id?>">Nutrition</a></li>
<li><a data-toggle="tab" href="#instructions<?=$meal_option_id?>">Instructions</a></li>
<li class="social" style="float:right;margin-left:-50px"> <a><img src= "../assets/images/gmail.png" height="35px"></a>
<li class="social" style="float:right;margin-left:-50px"> <a><img src= "../assets/images/facebook.png" height="35px"></a>
<li class="social" style="float:right;margin-left:-50px"> <a><img src= "../assets/images/twitter.png" height="35px"></a>
<li class="social" style="float:right;margin-top:8px;"> <a><p class="text-black" style="font-size:11px;font-family:Open Sans">SHARE</p></a>
</ul>
I just want the ones with the class ="social" not all of them
Just post the code for that one share button section
ASKER
ok i posted it above
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.