Remove social icons from menu when scrolling

February 2014 Joomla Template
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Dec 21, 2014 3:04 am
Reply with quote
Report this post
I'm trying to get my test site to work well with a narrower template width so I can be more consistent with tablets.

I love how the logo, menu and social icons stay on top when scrolling down the page, but when I try to set up a narrower page the social icons will wrap to the next line when scrolling, which looks odd and takes up too much space.

Is there a way to only have the logo and menu stay on top when scrolling and not show the social icons? That would probably fit better for me with a narrower page.

http://www.stnbeta.com

Thanks,
Kent
User avatar
Junior Boarder

GK User
Sun Dec 21, 2014 10:32 am
Reply with quote
Report this post
Hi,
I guess, yes. Try this:
Code: Select all
#gkFixedMenu #gkSocial {display:none;}

How to use it? Check my footer link.

We have also suffix to hide modules from mobile or tablet : https://www.gavick.com/documentation/un ... let-layout
User avatar
Platinum Boarder

GK User
Sun Dec 21, 2014 10:47 am
Reply with quote
Report this post
I have also one extra idea for you, please try also this:
Code: Select all
#gkFixedMenu.active {background: transparent; border-bottom:0; -moz-box-shadow: none; box-shadow:none; }
#gkFixedMenu.active .gkPage {
    background:  #fff;
    box-shadow: 0;
}
#gkFixedMenu #gkMainMenu {
    border-left: 1px solid #e5e5e5;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}

User avatar
Platinum Boarder

GK User
Sun Dec 21, 2014 7:13 pm
Reply with quote
Report this post
That worked great! Thanks for the quick reply.
User avatar
Junior Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.