Title: Class name and Cssid
Last modified: August 30, 2016

---

# Class name and Cssid

 *  [abc_l](https://wordpress.org/support/users/abc_l/)
 * (@abc_l)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/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&#8221](http://bb901.com/wp-content/uploads/2015/06/2-White_Tower_at_night_Tower_of_London.jpg&#8221);
   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&#8221](http://bb901.com/wp-content/uploads/2015/06/2-White_Tower_at_night_Tower_of_London.jpg&#8221);
   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
 * [https://wordpress.org/plugins/master-slider/](https://wordpress.org/plugins/master-slider/)

The topic ‘Class name and Cssid’ is closed to new replies.

 * ![](https://ps.w.org/master-slider/assets/icon-256x256.png?rev=1638064)
 * [Master Slider - Responsive Touch Slider](https://wordpress.org/plugins/master-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/master-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/master-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/master-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/master-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/master-slider/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [abc_l](https://wordpress.org/support/users/abc_l/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/class-name-and-cssid/)
 * Status: not resolved