hydecorp / hydejack

A boutique Jekyll theme for hackers, nerds, and academics
https://hydejack.com
Other
1.41k stars 799 forks source link

Sidebar background color not changing on dynamic navigation unless an image is set #346

Closed knzai closed 3 months ago

knzai commented 3 months ago

If you have sections with no bg image, but just a color, they won't switch between each other when you navigate.

knzai commented 3 months ago

I've tried using a 1px transparent png to force the crossfade to kick in, but that doesn't seem to trigger it. I guess I'll have to poke deeper into the crossfade script (or where it's hooked from) and find a place to hook in.

knzai commented 3 months ago

Huh, even when I instead use a 1px colored png to create the background, it still only changes when I navigate beween the front-page (which has a full accent image) and a subpage, not between the colored subpages directly.

knzai commented 3 months ago

Ah, nevermind. Make sure you are using the background property under the accent image for the hooks to all fire correctly. It'll render correctly otherwise, but not do the fade.