Giter VIP home page Giter VIP logo

Comments (6)

sesemaya avatar sesemaya commented on September 17, 2024

Hi @stefanopagnin does the console report an error of finding the icon font files on the page?

from material.

stefanopagnin avatar stefanopagnin commented on September 17, 2024

Hi @sesemaya, no error appear, but i found that the "base.min.css" missed this attributes:
"
@font-face {
font-family: iconfont;
src: url('fonts/MaterialDesignIcon.eot');
src: url('fonts/MaterialDesignIcon.eot?#i') format('embedded-opentype'),
url('fonts/MaterialDesignIcon.woff') format('woff'),
url('fonts/MaterialDesignIcon.ttf') format('truetype'),
url('fonts/MaterialDesignIcon.svg#') format('svg');
font-weight: normal;
font-style: normal;
}
"
so the css files wasn't able to find the MaterialDesignIcon file. I tried with this, and all the icons was correct.

from material.

modius avatar modius commented on September 17, 2024

@stefanopagnin we can't reproduce the issue in the current HEAD of master. Looks like you've found a fix for your environment so I'm going to close the issue. If it rears up again, please let us know!

from material.

stefanopagnin avatar stefanopagnin commented on September 17, 2024

@modius thanks for the support, i think that the REAL issues was the wrong path of the code in the font-face{..}, but yeah, i solved this little problem by myself, so thanks anyway! Beafitul work!

from material.

sesemaya avatar sesemaya commented on September 17, 2024

@stefanopagnin the paths in the css files as well as any href or src in html templates are all based on the default setup which follows a very simple folder structure, if your project is set up in a different environment you should also change these paths accordingly.

the easiest way to change the paths in css files is to modify the $css-path variable in /sass/_variable.scss file, and recompile sass to generate the new css files.

from material.

stefanopagnin avatar stefanopagnin commented on September 17, 2024

@sesemaya many thanks, now it works great ! Thanks a lot for the support

from material.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.