Christopher Dembek
07/08/2022, 1:33 PMbackground-image: url(getExtensionAssetsPath('img/example.svg'))
.
The theme has been deployed and activated. Therefore, the SVG images are in the file cabinet and locally in the assets/img folder.
However, when running locally, SVG images as a background image do not display.
Is this a limitation with SCA or a bug?Christopher Dembek
07/08/2022, 2:54 PM&:before {
content: '';
background-image: url(getThemeAssetsPath('img/us-icon.svg'));
background-size: contain;
width: 20px;
height: 14px;
display: inline-block;
}
Christopher Dembek
07/08/2022, 4:18 PMBryce Krah
07/08/2022, 5:18 PMChristopher Dembek
07/08/2022, 5:20 PMBryce Krah
07/08/2022, 5:26 PMgetThemeAssetsPathWithDefault('img/us-icon.sgv')
Bryce Krah
07/08/2022, 5:28 PMChristopher Dembek
07/08/2022, 5:29 PM