hydecorp / hydejack

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

[Question] How do I get overlay false while using an image as background? #299

Closed prettygood236 closed 2 years ago

prettygood236 commented 2 years ago

Thank you. but it do not work like the code below.

accent_image: background: /assets/img/background/44-green-yellow.jpg overlay: false or accent_image: url: /assets/img/background/44-green-yellow.jpg overlay: false accent_image: path: /assets/img/background/44-green-yellow.jpg overlay: false

How do I get overlay false while using an image as background?

LazyRen commented 2 years ago

Try this

accent_image:
  background:          center / cover url(/assets/img/background/44-green-yellow.jpg)
  overlay:             false

if you can't make things work, taking a look at the code might help you. In this case, sidebar-bg.html is where you need to look.

prettygood236 commented 2 years ago

Oh I am a big fan of you. I learned a lot from your blog. Always bigbig thank you. You solved this issue too. So brilliant!! Thank you. Have a good day!!