One way of giving your site a professional look is to make the header ‘stick’ to the top of the page. To see an example of this ‘sticky header’, click HERE (opens in a new window).
With OptimizePress you can do this either on a page-by-page basis or site wide. To implement this sticky header for your entire site, go to your WordPress dashboard then:
OptimizePress =>Dashboard => Custom CSS
Click ‘Custom CSS’ and enter the following:
padding: 0px 0px;
border-top: 0px solid #ffffff;
border-bottom: 0px solid #ffffff;
-webkit-box-shadow: 0px 4px 22px 0px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 0px 4px 22px 0px rgba(50, 50, 50, 0.75);
box-shadow: 0px 4px 22px 0px rgba(50, 50, 50, 0.75);
If you only want to do this on certain pages, open your page in the Live Editor, click on Page Settings => Other Scripts => Custom CSS and enter the code there.
Now whatever navigation menu you had in place for that page will ‘stick’ to the header as your visitors scroll down the page.
Hi! I’m Vic, I’m the founder of MemberFix. I live in Thailand, I write songs on my guitar, and I’m a brown belt in Brazilian jiu jitsu. 🙂 If you like this article, leave a comment and let me know what you think!