cancel
Showing results for 
Search instead for 
Did you mean: 

How to change Font

How to change Font

Hello there.

I am using Magento 1.9.2.0 and I want to change it's font in "rwd theme(madison island)". I couldn't figure it out  on sytles.css.

 

(The only reason I want to change the font is , there is a complication with Turkish language characters and all capital letters even in english version)

1 REPLY 1

Re: How to change Font

Hi babybun,

If you dont want to use the Ralway font at all you can remove the reference to it from the page.xml file.

 

Open:

app/design/frontend/rwd/default/layout/page.xml

and remove this line:

<action method="addLinkRel"><rel>stylesheet</rel><href>//fonts.googleapis.com/css?family=Raleway:300,400,500,700,600</href></action>

 

You should also then chenge the font-stack variable in the themes variables, this is located here:

skin/frontend/rwd/default/scss/_var.scss

 

Then find this variable

$f-stack-special: 'Raleway', 'Helvetica Neue', Verdana, Arial, sans-serif;

and remove Raleway.

$f-stack-special: 'Helvetica Neue', Verdana, Arial, sans-serif;

You will then need to recompile your CSS.

Hope that helps!

If you're happy with this response - please mark it as a solution!
Magento Certified Front-end Developer | www.iweb.co.uk