benjaminkott / benjaminkott/bootstrap_package

Images in less files

Open
#658 1 comment 0 reactions 1 assignee Claimed by @gilbertsoft View on GitHub
need feedback question
Dominant language
PHP
Stars
355
Forks
212
Avg merge
1h 4m
Merged PRs (30d)
31

Description

Hi Benjamin,
following problem:
I do have some css classes in a less file where background images are defined. But less is doing something strange with the path given in the url( ). Do not know how to fix this.
Example:
`background-image: url('fileadmin/theme/hopfengut/Resources/Public/Images/schmuck_unten_40.png') no-repeat;`

Result:
`background-image: url("../../../../typo3conf/ext/hopfengut/Resources/Public/Less/Theme/fileadmin/theme/hopfengut/Resources/Public/Images/schmuck_unten_40.png");`

Any idea how to get this working?
Best regards,
Jürgen

PS:
Using Typo 8.7.x and your latest version of bootstrap_package

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.