Re: Less free space above menu

Home Forums Older releases 0.9.x Less free space above menu Re: Less free space above menu

#1656
admin
Keymaster

Hi,

Not sure about the exact page layout where you are using the script but on the default demo page the space above the menu is controlled via the BODY element’s padding – i.e. the following rule in “libs/demo-assets/demo.css”:

body {
	...
	padding:2em;
	...
}

You could tweak it as you like as per the spec:

http://www.w3.org/TR/CSS21/box.html#padding-properties

For example, the following would give you none top padding but will keep the BODY right/bottom/left padding:

body {
	...
	padding:0 2em 2em 2em;
	...
}

Cheers!

Register

You will be emailed a link to set your password.

Login

Lost password?