Support » Theme: Startup Blog » Feature request: sticky/fixed header

  • Resolved Daniel Pardella

    (@toxicdemon)


    Hej,

    i want to display my header fixed to have the menu always visible. Can put this in the theme options?

    i try:

    .site-header {top: 0; width: 100%; position: fixed; overflow: hidden; color: #fff;}
    .site-header + .main-content-container {padding-top: 100px;}

    but does not work. any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Hey,

    Try this CSS instead:

    .site-header {
    	position: fixed;
    	top: 0;
    	left: 0;
    	width: 100%;
    	z-index: 19;
    }
    .overflow-container {
    	margin-top: 100px;
    }

    Hej Ben,

    works fine. thanks.

    it still remains with the request to embed in the theme options ๐Ÿ˜›

    thanks!

    Theme Author Ben Sibley

    (@bensibley)

    I’ll see if I can get it added in Startup Blog Pro ๐Ÿ™‚

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Feature request: sticky/fixed header’ is closed to new replies.