Foren

404 /my-theme/sprite/images/common/_sprite.png

thumbnail
Jack Bakker, geändert vor 9 Jahren.

404 /my-theme/sprite/images/common/_sprite.png

Liferay Master Beiträge: 978 Beitrittsdatum: 03.01.10 Neueste Beiträge
I have a 6.2 theme built on classic and the following get 404 on a prod server (linux) but the issue is not there with same theme on dev (Windows, Mac)

/my-theme/sprite/images/common/_sprite.png
/my-theme/font/fontawesome-alloy.woff
/my-theme/font/fontawesome-alloy.ttf
/my-theme/font/fontawesome-alloy.svg#fontawesome-alloy
thumbnail
Jack Bakker, geändert vor 9 Jahren.

RE: 404 /my-theme/sprite/images/common/_sprite.png

Liferay Master Beiträge: 978 Beitrittsdatum: 03.01.10 Neueste Beiträge
I solved this.

Had the below in custom.css where such are already in aui.css (when starting with a Theme parent of classic).

$FontAwesomePath: "aui/alloy-font-awesome/font" !default;

@import "aui/alloy-font-awesome/scss/variables";
@import "aui/alloy-font-awesome/scss/mixins-alloy";
@import "aui/alloy-font-awesome/scss/path-alloy";
@import "aui/alloy-font-awesome/scss/core";