Gap under the menu

Photo, amazing way to showcase your architecture, photography or artistic projects | Support forum.
GK User
Wed Apr 22, 2015 9:46 am
Hi, I wonder how can I get rid of the gap on the Front Page of Photo theme. When I use the menu, I can see a line of a photo under the menu.

Web: gracebonline.com
User: demo
PW: demo
User avatar
Senior Boarder

GK User
Wed Apr 22, 2015 1:32 pm
Hello,

Try to add Add the following code into the theme’s css/override.css file or custom css plugin:

Code: Select all
#page-nav {
  bottom: 1px;
}
User avatar
Moderator

GK User
Wed Apr 22, 2015 4:22 pm
That solved the problem when the footer is up and the menu is open. But on sub pages when the footer is down, the gap remains.

Is there a way also to make this footer static or to change the hight of the footer (both, when is up or when is down)?

Thank you.

M
User avatar
Senior Boarder

GK User
Thu Apr 23, 2015 8:11 am
Add also this code:
Code: Select all
#page-nav.active {
  bottom: 4px
}


and remove this from style.css:
Code: Select all
#page-nav.active .gk-social,
#page-nav.active .gk-logo-text {
  margin-top: 20px;
}
#page-nav.active #gk-menu-button {
  height: 60px;
  top: -60px;
}
#page-nav.active #gk-menu-button > span {
  line-height: 67px;
}
#page-nav.active #gk-menu-button > strong {
  top: 30px;
}

and the footer should be static.
User avatar
Moderator

GK User
Fri Apr 24, 2015 9:50 am
I've noticed that adding:
#page-nav {
bottom: 4px;
}

makes a gap on the bottom of the page!

Plus adding:
#page-nav.active {
bottom: 4px
}

makes my footer static.

Also, how do I adjust the height of this footer? When the menu is in use and when is not?

Thank you.
M
User avatar
Senior Boarder

GK User
Mon Apr 27, 2015 7:54 am
You can use height values:
Code: Select all
#page-nav {
  bottom: 4px;
  height:100px;
}


#page-nav.active {
  bottom: 4px;
  height: 150px;
}
User avatar
Moderator


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