I would like to remove following line of code from default magento theme, but I can't find out how:

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

Is it in some obscure xml file?


You can remove without having to edit RWDs page.xml file.

Add the following to your themes local.xml file under the handle

<reference name="head">
    <action method="removeItem"><type>link_rel</type><name>//fonts.googleapis.com/css?family=Raleway:300,400,500,700,600</name></action>

Edit the following file


and remove/comment the line

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

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.