Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.2.0 CE B2, 6.2.0 CE B3
-
Tomcat 7 + MySQL 5. Portal 6.2.x GIT ID: 71e3fec3d41e6419360ab091d60bbd6fed17c871.
Tomcat 7.0.40 + MySQL 5.5 Portal 6.2 Beta 2
-
6.2.x
-
Committed
-
23
-
3
Description
We use @font-face in our custom themes for using 3rd party fonts. When I look at the Console in chrome I see a 404 error and the URL is not valid: /test-theme/css//test-theme/fonts/FrutigerLTStd-Roman.ttf.
The other interesting thing is this only seems to happen when I use an @import statement in the custom.css file such as: @import url(test.css); Inside the test.css file is where the @font-face is located. If I move the @font-face into custom.css then it seems to work.
The other thing of interest is that this works fine in my local development environment which has minifier.enabled=false. It seems that the minified version is what has the issue.
I'm attaching a test theme which recreates the issue outlined above.
Attachments
Issue Links
- is duplicated by
-
LPS-48861 Background image is appended twice when the custom theme uses a relative path in the CSS file
- Closed
- is related to
-
LPS-45070 Some images in control panel are not properly loaded on RTL languages
- Closed
-
LPE-12539 Using "@font-face" in a custom theme causes 404 errors.
-
- Closed
-
- relates
-
LPS-41284 SASS Error for custom theme
- Closed