0

i like to add a new font to magento admin theme, for that i put the font file in "FederalLawyer/skin/adminhtml/default/lawyeradmintheme/fonts"

in my css file i called :
------------------------
 @font-face{
        font-family:'FontAwesome';
        src:url('../fonts/fontawesome-webfont.eot?v=4.2.0');
        src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.2.0')
        format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.2.0')
        format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.2.0')
        format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular')
        format('svg');font-weight:normal;font-style:normal;}

but still is not get call.
see the below screen you will know that.

enter image description here

  • What is the path to your css files? – Renon Stewart Jun 17 '15 at 11:27
  • FederalLawyer/skin/adminhtml/default/lawyeradmintheme/reset.css – senthil Jun 17 '15 at 13:42
1

By default magento does NOT support custom admin theme, but you could enable this using

<stores>
    <admin>
        <design>
            <theme>
                <default>lawyeradmintheme</default>
            </theme>
        </design>
    </admin>
</stores>

See https://stackoverflow.com/questions/14719777/want-to-over-ride-adminhtml-in-magento

  • 1
    Also note that Magento looks for a custom. css in admin themes so you can create it and add your styles without further modification – Fabian Schmengler Aug 23 '15 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.