Previous | Next

Layout Add-on: Sticky Navs



Hey guys! Today's layout is actually a layout add-on. What?! I know! These four sticky navigations will fit into ANY layout you're using (both Generator and Complete Style) without editing needed! (There may be certain exceptions where the layout conflicts, but they'll only need minor edits if that's the case.)

These will most likely work on DW too with the same concept as the Complete Style instructions, but I have not tested them out, so if you use them on DW and experience issues just let me know and I'll add DW notes to this post!

The instructions for each of these are on the demo page, so the only editing info on this page will be the colors and a couple of small notes. Enjoy, and let me know if you would like to see more plug & play addons like these! ♥

Editing Guide

#fff - Menu title and link color
255,255,255 - Link border (semi-tranparent rgba value)
#444 - Hidden menu background
#222 - Nav background

#fff - Popup menu background
#eee - Link background
#ddd - Link hover background
#aaa - Menu title
#333 - Text/link color
0,0,0 - Popup overlay background (semi-tranparent rgba value)

*Change left:0;top:0; in #sticky-nav to reposition the menu icon for Nav #2.

#fff - Dropdown background
#ddd - Borders and link hover background
#222 - Link color

*Change top:25px;right:25px; in #sticky-nav to reposition the dropdown for Nav #3.

#fff - Link and dropdown text color
#bbb - Text color
0,0,0 - Menu and dropdown background (semi-tranparent rgba value)

*The font used in all the demos is Oswald. If you want to use this for your sticky nav, just declare the font in #sticky-nav with font-family:Oswald; and make sure you embed the font in your CSS from Google Fonts.

Terms of Use

♡ Do not remove credit.
♡ You may add this to your layouts with the intent to redistribute them as long as you leave my credit header in the CSS.
♡ If you break something during editing, please feel free to drop me a comment and I'll help as best I can!
♡ I love seeing edits! This isn't a rule, but if you have a cool edit of one of my codes I'd love to see it!


Jan. 30th, 2018 06:02 pm (UTC)
Already thinking on how and which one to use these for ~epochcaps, ngl.

Doooooo it! I couldn't even begin to code up a layout, but your little codes and tutorials make me feel like I almost could.
Jan. 30th, 2018 06:07 pm (UTC)
Oooh yasss. Ngl, I think Nav #4 with solid backgrounds would be amazing for that with your current layout. You'd basically just wanna replace all on rgba(0,0,0,0.7) and then add some top margin to body to make room for it up top, and the rest would really just be filling it out, bing bang boom!
Jan. 30th, 2018 06:08 pm (UTC)
Ohhhhhhh yeah I could links tags! aakdjsldsjlds.
Jan. 30th, 2018 06:11 pm (UTC)
RIGHT!! Since it supports non-link text, links, and dropdowns with links, you can really mix and match anything you need up there (and obviously you can have multiple of any type, so if you wanted dropdowns for tag sections you could!.) I think the only thing to keep in mind is like if you have a ton of blocks along the top smaller screens will hate it, but yanno lmao.

On THAT note, you can edit this to make each block shorter to make room if you know you're going to need a lot of blocks up there:

.sticky-nav ul li{position:relative;margin:0;padding:0;width:120px;}
Jan. 30th, 2018 06:16 pm (UTC)
Thank you, thank you! I'll fiddle with it on a mock journal, and probably show off thangs ~soonish.
Jan. 30th, 2018 06:17 pm (UTC)
Yasss, I'm SO excited to see this plugged into journals tbh. ♥
Jan. 30th, 2018 07:20 pm (UTC)
The colors are a mess, but this is what I got so far.