Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

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!