Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicating local folder in absolute path from LESS file which is imported (@import) to other LESS file in T3 BS3 Blank Template #512

Open
inscriptios opened this issue Nov 5, 2017 · 0 comments

Comments

@inscriptios
Copy link

I'm using /localhost/templates/t3_bs3_blank/local folder to keep changes when T3 BS3 Blank Template is updated. In that folder I have template.less file and a few of LESS files which are imported into template.less. For example start of template.less file contents:

@import "vertical_menu.less";

If I'm using the following code in the imported files:

.sm-parent dl.level1 > .parent::after {
  background-image: url('../images/icons/vertical-menu-angle-icon.png') !important;
}

absolute path to the PNG image is http://localhost/templates/t3_bs3_blank/local/local/images/icons/vertical-menu-angle-icon.png - the local folder is duplicated in the path.

If I'm using the same code in the template.less file then the absolute path to the PNG image is http://localhost/templates/t3_bs3_blank/local/images/icons/vertical-menu-angle-icon.png - the local folder is NOT duplicated there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant