View Single Post
  #4  
Old 05-16-2016, 04:09 PM
 
paulmighty paulmighty is offline
 

Member
  
Join Date: Apr 2014
Posts: 11
 

Default Re: X-Cart 5.2.14: code changes that you should be aware of

I'm noticing errors after the upgrade from 5.2.13 to 5.2.14 when deploying a store that includes Bootstrap glyphicons-halflings font-face.

The file is:
Code:
skins/common/bootstrap/css/variables.less

line 6:
Code:
@{common-skin}: false;

line 78:
Code:
@icon-font-path: "@{common-skin}/bootstrap/fonts/";

In the deployed CSS file, this renders with a directory title "false" in the path like so:
Code:
@font-face { font-family: 'Glyphicons Halflings'; src: url("false/bootstrap/fonts/glyphicons-halflings-regular.eot"); src: url("false/bootstrap/fonts/glyphicons-halflings-regular.eot?#iefix") format('embedded-opentype'), url("false/bootstrap/fonts/glyphicons-halflings-regular.woff") format('woff'), url("false/bootstrap/fonts/glyphicons-halflings-regular.ttf") format('truetype'), url("false/bootstrap/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular") format('svg') }

Did not have this issue in 5.2.13 and am wondering what is the best way to fix this? Can I add something to my custom theme other than just overwriting the @font-face include?

Thanks!
-Paul
__________________
X-Cart Version: 5.2
Reply With Quote