Forums
Forums / Fixing WordPress / Remove Div from header
(@eengler)
11 years, 10 months ago
Hello!!
I have these two div random divs in my header that I need to delete so there will not be so much white space:
<div class=”social-block span5″>/div> <h2 class=”span7 inside site-description”></h2>
site is
Help?
(@anonymized-13749270)
can you provide your header.php file or your theme name? i think the first div is for social links and the second header is for site description.. i see you are using a logo so you can easily get rid of those elements..
(@vtxyzzy)
Try adding this to the end of your child theme’s style.css:
.navbar-inner div.social-block { display: none !important; } .navbar-inner h2.site-description { display: none !important; }
Thank you! That worked pefectly 🙂
The topic ‘Remove Div from header’ is closed to new replies.