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.

Less free space above menu

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1365
    Chris
    Participant

    Hi,
    there is a lot of free (unused) space above the smartmenu. Is it possible to move the whole menu up? I’m not an expert in CSS nor Javascript so any help would be appreciated.
    Thanks
    Chris

    #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!

    #1657
    Chris
    Participant

    Thanks – works perfectly!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘0.9.x’ is closed to new topics and replies.