Skip to content

Adding Background image From tailwind Config #118

Answered by jarednthomas
firestanf asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not using Laravel mix but I'm also not able to get it to work with a relative path. When done absolute, it works for me, but I'd rather not do it like this:

'hero-pattern': "url('/wp-content/themes/<themeName>/img/HeroBackground.jpg')",

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by firestanf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants