You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My images are located in dist/assets/img. I am getting a sass error "can't resolve address" with the proton sites template when I use background-image : url('/assets/img/bgrd.jpg') for body in a scss file that I have imported in site.scss.. However, the same background statement works fine when included as a style in the layout default.html. I get the same error when I use a relative address ../img/bgrd.jpg in url.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My images are located in dist/assets/img. I am getting a sass error "can't resolve address" with the proton sites template when I use background-image : url('/assets/img/bgrd.jpg') for body in a scss file that I have imported in site.scss.. However, the same background statement works fine when included as a style in the layout default.html. I get the same error when I use a relative address ../img/bgrd.jpg in url.
Beta Was this translation helpful? Give feedback.
All reactions