Needs work
Project:
Bootstrap
Version:
5.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2024 at 17:12 UTC
Updated:
17 Sep 2024 at 14:53 UTC
Jump to comment: Most recent
I found this in CSS, but my files are located at /mysite/web/themes/contrib/bootstrap/images/icons/application-pdf.png
Path is incorrect:
.file--application-pdf {
background-image: url(/themes/contrib/bootstrap/images/icons/application-pdf.png);
}
Comments
Comment #2
marc.bauReplacing
/themes/contrib/bootstrap/images/with../../images/infile.cssworks in both uncompressed and compressed CSS modeComment #3
marc.bauI also suspect (not tested) that the SASS subtheme also has a bug about this as
../../contrib/bootstrap/looks incorrect to me.Comment #4
marc.bauComment #5
marc.bauStill broken
Comment #6
hatuhay commentedFor css subtheme there is no 100% working definition as it will depend os specific folder structures.
On scss subthemes a variable is set to allow customizations.
In your case and any other folder structures different from theme's "standard" path should be customized on subtheme's css
Comment #7
marc.bauI'm sorry, but this is not correct.
/themes/contrib/bootstrap/with../../infile.css./themes/contrib/bootstrap/with../../inforum.css./themes/contrib/bootstrap/with../../inhelp.css./themes/contrib/bootstrap/with../../inicons.css.{$bootstrap_path_images}in file.scss and so onTry it out, please.