Tagged: CSS, hide header, php
1) I’d like to remove the header completely just leaving the top bar. (as per: http://screencast.com/t/d5EbJr3SYu4k)
I’ve done this by editing /includes/admin/register-admin-options.php and changing the height array from 45 -> 300 to 0 -> 300 and then adding
.inner-container {display: none;} to remove the menu which was still visible.
I tried hiding this header using css alone but couldn’t get it to work. Can this be done via CSS?
2) In another site I wanted an extra deep header so edited the same array to go from 45px to 376px. Again I did this in the same file in the parent Enfold theme. I tried moving this php file to my own child theme but the changes aren’t picked up. How can I protect my changes from future enfold theme updates?
Thanks as always.
Hey DigitalEssence,
Could you provide us with a link to the site in question so that we can take a closer look please?
Regards,
Rikard
Hi,
sorry for the delay. the site is at: http://letterpart.digitalessence.net/ and htaccess info is in the secret squirrel bit below