CE-1.9.1.0 Local.xml – Removing Elements in local.xml

ce-1.9.1.0local.xml

How do I rid of an "addLinkRel" and a "setText" via "local.xml"?
More specific, I'm trying to unload these

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

<block type="core/text" name="head.viewport">
<action method="setText"><text><![CDATA[<meta name="viewport" content="initial-scale=1.0, width=device-width" />]]>&#10;</text></action>
</block>

Best Answer

Felipe Abranches,You can remove

<block type="core/text" name="head.viewport">
<action method="setText"><text><![CDATA[<meta name="viewport" content="initial-scale=1.0, width=device-width" />]]>&#10;</text></action>
</block>

this above block using remove tag <remove> at local.xml.

code is

<?xml version="1.0"?>
<layout version="0.1.0">
    <default>
        <reference name="head">
            <remove name="head.viewport" />
        </reference>
    </default>
</layout>

and there nothing default way to remove

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

code at local.xml If you want to remove it then you need go at page and comment that code

Related Topic