Make menu stick
October 2012 Joomla Template
Rate this topic: 




1.00 out of 6 based on 1 vote(s)






- GK User
- Sun Mar 23, 2014 12:06 pm
- Reply with quote
- Report this post
Hi there,
If it is possible to make menu stick in this template? So that when we scroll down - menu stays on screen all the time?
Thanks.
If it is possible to make menu stick in this template? So that when we scroll down - menu stays on screen all the time?
Thanks.
-
- Platinum Boarder
- GK User
- Sun Mar 23, 2014 1:23 pm
- Reply with quote
- Report this post
Yes, it's possible I made it for another our client, but it request some customizations.
But okey let's try again:
this code was customized for different site but should work similar. Maybe it need small fixes for margin/padding values etc.
But okey let's try again:
- Code: Select all
section#gkPageTop { background: #FFFFFF; position: fixed; }
#gkUserArea, #gkMainMenu { margin-top: 10px; }
#gkHeader { padding-top: 80px;}
#gkBottom1, #gkBottom2, #gkBottom3, #gkBottom4 { padding: 90px 0;}
#gkPageContent > aside {
padding-top: 75px;
}
this code was customized for different site but should work similar. Maybe it need small fixes for margin/padding values etc.
-
- Platinum Boarder
- GK User
- Mon Mar 24, 2014 4:04 pm
- Reply with quote
- Report this post
Here http://joomla.fitnes7vetrov.ru/index.php/news it overlaps now with the page itself. If there's ane way to make menu narrow and move the content down for a bit? I've tried to fiddle with parameters on my own to no luck...
Thanks.
Thanks.
-
- Platinum Boarder
- GK User
- Mon Mar 24, 2014 4:36 pm
- Reply with quote
- Report this post
And one more thing about menu - we use text logo, but the letters overlap (can be seen now at the same address http://joomla.fitnes7vetrov.ru/index.php/news) - is it chosen font bug, or could be fixed somehow in the template? Thanks.
-
- Platinum Boarder
- GK User
- Mon Mar 24, 2014 6:54 pm
- Reply with quote
- Report this post
This should help, add this at the bottom of "older" code:
If space between menu and article will be still too small change margin here: section article
- Code: Select all
#gkUserArea, #gkMainMenu { margin-top: 0; }
h1 {font-size: 38px; }
article aside > time {font-size: 40px; margin: 43px 0 16px }
section article { margin-top: 20px !important; }
If space between menu and article will be still too small change margin here: section article

-
- Platinum Boarder
- GK User
- Mon Mar 24, 2014 7:08 pm
- Reply with quote
- Report this post
Pawel F wrote:This should help, add this at the bottom of "older" code:
Thanks! It did work. Any advice about letters overlapping? We've found it happens like this in many places, not only at logo...
-
- Platinum Boarder
- GK User
- Mon Mar 24, 2014 8:00 pm
- Reply with quote
- Report this post
Try another font
or/and
check CSS letter-spacing property -->http://www.w3schools.com/cssref/pr_text_letter-spacing.asp
or/and
check CSS letter-spacing property -->http://www.w3schools.com/cssref/pr_text_letter-spacing.asp
-
- Platinum Boarder
7 posts
• Page 1 of 1