Class name and Cssid
-
Hi,
I am looking to add Class and CSS into the slide.
But however i try, i just couldn’t get it work.
Info:
I had added this into my Custom CSS:
#glide{
DIV.texthover {
width:450px;
display:block;
position:relative;
text-align: center!important;
}DIV.texthover .overlay {
position:absolute;
top:50%;
width:0;
width:100%;
height:41%;
color:#000;
padding-top:20px;
background-color:#99fff7;
display:none;
}
DIV.texthover:hover .overlay {
display:block;
opacity: .8;
}}and the markup:
<div class=”texthover”>
<img src=”http://bb901.com/wp-content/uploads/2015/06/2-White_Tower_at_night_Tower_of_London.jpg” alt=”” />
<p class=”overlay”><span style=”font-size: 18pt;”>This is some text I want to display</span>
Body descriptions
[su_button url=”http://bb901.com/wp-content/uploads/2015/06/2-White_Tower_at_night_Tower_of_London.jpg” style=”glass” background=”#2D89EF” color=”#FFFFFF” size=”5″ wide=”no” center=”no” radius=”auto” icon=”” icon_color=”#FFFFFF” text_shadow=”none” desc=”” onclick=”” rel=”” class=””]Read More[/su_button]</p></div>
So under Master Slider Misc:
Class name:”texthover overlay” CSS id:”glide”
I think i must have done something wrong, please advice.
Your kind attention is greatly appreciated.
Warmest regards,
abc
The topic ‘Class name and Cssid’ is closed to new replies.