1

on a particular phtml page, we added following code :

<img src="/32-32.jpg" alt="Customer care" /><span> 99999999 </span>

<span>welcome &nbsp;</span>
 <a title="Sign Out Your Account Here.." href="https://sitename.com/customer/account/logout/">Sign Out</a>

and its displaying like this, code is reflecting below horizontal line, above horizontal line you can see logo in rectangle shape.

enter image description here

i want to reflect code above horizontal line, means in header.

and it should reflect only in particular phtml page. when i tried through css, it did't worked for me

2
  • Add different header for that page in local.xml
    – Magento 2
    Apr 19, 2016 at 12:45
  • @Kothari post your comment as answer. Apr 19, 2016 at 13:28

1 Answer 1

2

Try this,

add your local.xml Create phtml and customized based on what you want and call below xml

<body_class>
       <reference name="header"> 
            <block type="page/header" name="header">
                <action method="setTemplate"><template>Filepath.html</template></action> 
            </block>
        </reference>

<body_class>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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