html - Div Style Display Property not working properly ? Wordpress theme -
orking on wordpress fart theme . trying disable 1 of 3 div new css , wordpress.
i showing html code clear,
<div id="footer-cols-inner"> <div class="col3a"> <h2 class="footer-title">footer col widget 1</h2> <div class="footer-after-title"/> <div class="textwidget">this first footer widget area. customize it, please navigate admin panel -> appearance -> widgets , add widgets footer column #1.</div> </div> <div class="col3b"> <h2 class="footer-title">footer col widget 2</h2> <div class="footer-after-title"/> <div class="textwidget">this second footer widget area. customize it, please navigate admin panel -> appearance -> widgets , add widgets footer column #2.</div> </div> <div class="col3c"> <div class="clear"/> </div>
in html trying apply display none property class "col3b" , "col3c" not working still showing me on page.
css code as,
.col3a, .col3b, .col3c { float:left; width:30.6%; } .col3a, .col3b { margin:0 3.5% 5px 0; } .col3c { margin:0 0 5px 0; } /* columns */ .col3a, .col3b, .col3c, .col4a, .col4b, .col4c, .col4d { float:left; width:48%; }
display: none property not working in .col3a , 3b , 3c
but if apply property in class
.footer-title { border-bottom: 4px solid #a100c0; color: #eee; float: left; font-size: 14px; display/:none; font-weight: normal; letter-spacing: 1px; margin-bottom: -2px; padding: 0 5px 1px 1px; }
it works dont know why ?
actually working on wordpress theme can not on html tag directly
hopes suggestion
thanks
edit: .col3b, .col3c { float:left; width:30.6%; display:none; }
Comments
Post a Comment