Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Where is header-nav-container? 
 
Chris Williams
Member
 
Avatar
Total Posts:  67
Joined:  2007-09-02
Dallas, TX
 

I’m trying to find out where this is defined.  I only find reference to it in the CSS files.

<div class="header-nav-container">
    <
div class="header-nav">
        <
h4 class="no-show">Category Navigation:</h4>
        <
ul id="nav">
            <
li>
        </
ul>
    </
div>
 
Magento Community Magento Community
Magento Community
Magento Community
 
Bill007
Sr. Member
 
Avatar
Total Posts:  179
Joined:  2008-01-15
New Zealand
 

Kia Ora Chris

Line 387 (approx) is where the image is getting called

CSS

.header-nav-container { background:url(../images/nav_bg.jpgrepeat-y 50#0a263d; }

XHTML

<div class="header-nav-container">
This tag calls the CSS style

header-nav-container is the name of the <div> container

If you want to change the color or remove the image and use your own ETC just change it in the code above

Regards Bill http://www.euphorish.com Web design Freebees

 
Magento Community Magento Community
Magento Community
Magento Community
 
Chris Williams
Member
 
Avatar
Total Posts:  67
Joined:  2007-09-02
Dallas, TX
 

My question is which file calls this I see it in the source when the page loads.  But I don’t seem to see it in the phtml files.

 
Magento Community Magento Community
Magento Community
Magento Community
 
NueBe
Member
 
Total Posts:  65
Joined:  2007-09-30
Tres Cantos - Madrid - Spain
 

the “header-nav-container” is inside \app\design\frontend\default\azul\template\page\html\header.phtml here: <?=$this->getChildHtml('topMenu')?> but it calls another file.

Im working in a web design which in first page nav is in the left, and in the others is up. I put <?=$this->getChildHtml('topMenu')?> in the columns phtml and is ok

 
Magento Community Magento Community
Magento Community
Magento Community
 
ashanholt
Member
 
Avatar
Total Posts:  33
Joined:  2007-09-05
 

So, no-one can say where this HTML is actually located?

 
Magento Community Magento Community
Magento Community
Magento Community
 
MoonBlossom
Jr. Member
 
Total Posts:  1
Joined:  2009-01-20
 

You can find it here:
\app\design\frontend\default\default\template\catalog\navigation\top.phtml

 
Magento Community Magento Community
Magento Community
Magento Community
 
fegizii
Sr. Member
 
Total Posts:  160
Joined:  2009-01-21
 
MoonBlossom - 24 January 2009 01:05 AM

You can find it here:
\app\design\frontend\default\default\template\catalog\navigation\top.phtml

THANK YOU!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top