fix top header / logo to not scroll
- GK User
- Wed Mar 14, 2012 2:58 am
I have searched for this everywhere, and still no solution. I just want to fix the top header and perhaps th footer on my musiccity template to not scroll with the rest of the page. thanks


-

- Fresh Boarder
- GK User
- Wed Mar 14, 2012 1:36 pm
Hi.
To fix footer please edit template.css file and find the following line:
Then change it to:
But in my opinion it doesn't look good...
I'm not sure what you want to fix at the top. Just logo? Or whole top wrapper?
To fix footer please edit template.css file and find the following line:
- Code: Select all
#gk-footer {
margin: 0 auto 20px auto;
padding: 48px 0;
}
Then change it to:
- Code: Select all
#gk-footer {
margin: 0 auto 20px auto;
padding: 48px 0;
position: fixed;
bottom: 0;
}
But in my opinion it doesn't look good...
I'm not sure what you want to fix at the top. Just logo? Or whole top wrapper?
-

- Platinum Boarder
- GK User
- Fri Mar 23, 2012 4:58 am
the whole top wrapper, not the footer. thanks
mikeMB wrote:Hi.
Ti fix footer please edit template.css file and find the following line:
- Code: Select all
#gk-footer {
margin: 0 auto 20px auto;
padding: 48px 0;
}
Then change it to:
- Code: Select all
#gk-footer {
margin: 0 auto 20px auto;
padding: 48px 0;
position: fixed;
bottom: 0;
}
But in my opinion it doesn't look good...
I'm not sure what you want to fix at the top. Just logo? Or whole top wrapper?
-

- Fresh Boarder
- GK User
- Fri Mar 23, 2012 11:05 am
Please paste the following code to override.css file:
- Code: Select all
#gk-top { overflow: hidden; padding-bottom: 10px; margin-bottom: 8px!important; position: fixed; width: 100%; z-index: 1000;}
#mainPage { padding-top: 200px; }
-

- Platinum Boarder
4 posts
• Page 1 of 1
