Quantcast
Channel: Discussions - T3 - Joomla Template Framework
Viewing all articles
Browse latest Browse all 3483

Local folder path repeats when using background image in LESS

$
0
0
Hello everyone,

I am a new member here I hope that will also be able to help others too!!!

I am working on a new site where I am adding some custom layouts over Framework V2.3.2 and T3 Bs3 Blank V2.1.6, all seems to work fine keeping changes under the '/local/' folders.:D

I am using LESS to customise styles and they also work well,:)

:o :( - HERE is where I am having an issue, I am adding a background images to one of my areas in LESS files, the image are physically saved in ..../local/images/images.jpg and here is my LESS code.


.magia-bg{
width:100%;
background-image: url('../images/magia-bg-top.jpeg');
background-repeat: no-repeat;
background-position: left;
background-attachment: fixed;
}
Once the page is reloaded and LESS file has been processed, the image is not shown, when I inspect the element the css results shows that the local folder is repeated in the path, like so:

background-image: url("../../../templates/t3_bs3_blank/local/local/images/magia-bg-top.jpeg");
And it should be:

background-image: url("../../../templates/t3_bs3_blank/local/images/magia-bg-top.jpeg");
Has anyone had the some issue? I would appreciate any help on this matter.

I thank you very much.
Regards
F Diaz

Viewing all articles
Browse latest Browse all 3483

Trending Articles