Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   Fixed menus? (http://forum.bytesforall.com/showthread.php?t=11667)

Farinet Dec 11, 2010 08:22 AM

Fixed menus?
 
Hello,

I have put the Page and Cat menus at the top of the page, and was wondering if there might be an easy way to have them stick on top of the page (i.e. not scroll when scrolling the page).

lmilesw Dec 11, 2010 02:50 PM

Somewhere in the forum there are instructions for that but I don't recall where. Also from what I remember you can do that but you will not have sidebars.

Farinet Dec 11, 2010 04:48 PM

I'll keep the sidebars! Thanks Larry.

lmilesw Dec 12, 2010 11:37 AM

It looks like I was mistaken about setting the header so everything else scrolls. In ATO>Style Header Areas you can wrap the header code in a div with an id and then position it a fixed. Here is an example of the type of code.
Here is what could go in the Style Header Area box
HTML Code:

<div id="fixed-header">%logo %image %page-right</div>
And here is what you would put in ATO>Add HTML/CSS Inserts>CSS Inserts. You will probably have to tweak the CSS
HTML Code:

#fixed-header {
    width: 1000px;
    position: fixed;
}
td#right, td#left, td#middle {
    padding-top: 300px !important;
}



All times are GMT -6. The time now is 05:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.