Hello!
I'm having problems with CSS paths pointing to images.
I've got custom template. Long time ago I needed
to load PIE library, it've taken from me many nerves.
It wasn't loading and it was out of scope.
The solution was found: place the PIE in the root folder and add rules to .htaccess:
After it I've forgotten about the problem with paths.
Now I decided to add a icon pack library and use it in template. Found this which works out of box, separately(without Joomla)
http://ift.tt/1vUDOaM
The archive's structure is: webicons.css file and folder with icons - webicons
Everything was placed in CSS folder of my theme: templates/template_name/css -->webicons
webicons.css
The problem - the icons doesn't load at all. They are out of scope.
The webicons.css loads icons in such way:
How this could be solved?
Adding some rules to .htaccess?
via Joomla! http://ift.tt/1vUDM2G
I'm having problems with CSS paths pointing to images.
I've got custom template. Long time ago I needed
to load PIE library, it've taken from me many nerves.
It wasn't loading and it was out of scope.
The solution was found: place the PIE in the root folder and add rules to .htaccess:
Code:
AddType text/x-component .htc
RewriteRule ^(.*)PIE.htc$ pie/PIE.htc [L]
RewriteRule ^(.*)PIE.htc$ pie/PIE.htc [L]
After it I've forgotten about the problem with paths.
Now I decided to add a icon pack library and use it in template. Found this which works out of box, separately(without Joomla)
http://ift.tt/1vUDOaM
The archive's structure is: webicons.css file and folder with icons - webicons
Everything was placed in CSS folder of my theme: templates/template_name/css -->webicons
webicons.css
The problem - the icons doesn't load at all. They are out of scope.
The webicons.css loads icons in such way:
Code:
.no-svg .webicon.mail {
background: url("webicons/webicon-mail-m.png"); }
background: url("webicons/webicon-mail-m.png"); }
How this could be solved?
Adding some rules to .htaccess?
Statistics: Posted by 01Kuzma — Thu Oct 09, 2014 8:38 pm
via Joomla! http://ift.tt/1vUDM2G
No comments:
Post a Comment