Search…

X3 Photo Gallery Support Forums

Search…
 
MikeR
Experienced
Topic Author
Posts: 216
Joined: 29 Sep 2006, 09:58

Footer size

04 Feb 2016, 13:51

Hello,

Can you help me (if possible with the css) to reduce the height of the footer (the height between the the top line and the bottom line) ?
Thanks
0230.jpg
0230.jpg (7.11 KiB) Viewed 2626 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Footer size

05 Feb 2016, 01:07

Sure. Keep in mind, there is a reason why these things aren't recommended as you will see in the code. First of all, the height is based on width of the screen/device, and is therefore based on progressive CSS media queries. If you need to change these things, did you take everything (all screen sizes, usability) into consideration like we have already done?
Code
body[class*='topbar'] .footer {
    padding: 4em 0 1.8em;
}
@media only screen and (min-width: 40.063em){
  body[class*='topbar'] .footer {
    padding: 4em 0 3.2em;
  }
}
You should be editing the 4(top), 1.8(bottom) and 3.2(bottom) values. The 2nd media query class is larger padding for larger screens. As you may see, a relatively simple setting, but complex because it's part of a "responsive" website design.
 
MikeR
Experienced
Topic Author
Posts: 216
Joined: 29 Sep 2006, 09:58

Re: Footer size

05 Feb 2016, 05:28

Just perfect
thank you