![]() |
Header needs to be moved down on my site PLEASE HELP
I am coding a child theme for a website using wordpress. I had changed some of the CSS to make the nav bar on the top stay fixed when scrolling. When I made those changes, the header moved up. how can I move the header down while also making it fixed and only have the body scroll. Thanks in advance. any help would be greatly appreciated
site:http://www.fillyshred.com/install coding in the child theme style.css sheet thus far: /* Theme Name: Pink Touch 2- Child Theme Description: Author: admin Template: pink-touch-2 (optional values you can add: Theme URI, Author URI, Version) */ @import url("../pink-touch-2/style.css"); body { background: top center no-repeat; color: #a22665; font-size: 16px; font-family: Arial, Times New Roman, Trebuchet MS; margin: 0 auto 0; padding: 0; line-height: 20px; } /****************navbar**************/ #nav-menu { display: block; float: left; color: #a22665; font-size: 12px; margin: -4px 0px 4px -16px; } #navigation{position:fixed;z-index:1} #navigation-frill{position:fixed;z-index:2;margin-top:25px} |
Hello brittanylynn01,
You should probably put #navigatin outside of #wrapper. Then you can put a top margin on #wrapper so it clears the fixed nav above it. Like this - Code:
<div id="navigation">Code:
#wrapper { |
| All times are GMT +1. The time now is 07:25 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.