Magento 1.9 header ISSUE Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Header caching format issueMoving header account dropdown - CE 1.9.1Editing Magento headerheader display issueMagento 2 Override default header templatedisplay the result in header for only particular phtml pageDisplay phtml file result in headerMoving header links in Magento 1.9Issue with invalid HeaderMagento 2: Disable default header and add custom header content
How was Lagrange appointed professor of mathematics so early?
What is a 'Key' in computer science?
Is there an efficient way for synchronising audio events real-time with LEDs using an MCU?
Why isPrototypeOf() returns false?
How to translate "red flag" into Spanish?
A journey... into the MIND
What were wait-states, and why was it only an issue for PCs?
What is the definining line between a helicopter and a drone a person can ride in?
Stretch a Tikz tree
Writing a T-SQL stored procedure to receive 4 numbers and insert them into a table
Is Bran literally the world's memory?
Can gravitational waves pass through a black hole?
What helicopter has the most rotor blades?
What is the numbering system used for the DSN dishes?
Arriving in Atlanta after US Preclearance in Dublin. Will I go through TSA security in Atlanta to transfer to a connecting flight?
Why doesn't the university give past final exams' answers?
Why did Europeans not widely domesticate foxes?
Why does the Cisco show run command not show the full version, while the show version command does?
Why is arima in R one time step off?
Is there a possibility to generate a list dynamically in Latex?
false 'Security alert' from Google - every login generates mails from 'no-reply@accounts.google.com'
Mechanism of the formation of peracetic acid
What is /etc/mtab in Linux?
Processing ADC conversion result: DMA vs Processor Registers
Magento 1.9 header ISSUE
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Header caching format issueMoving header account dropdown - CE 1.9.1Editing Magento headerheader display issueMagento 2 Override default header templatedisplay the result in header for only particular phtml pageDisplay phtml file result in headerMoving header links in Magento 1.9Issue with invalid HeaderMagento 2: Disable default header and add custom header content
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Have some strange header.phtml error. Problem is non my index page everything is ok, and on any other page have some weird problem my header and menu change places.
code for my current header.phtml is this.
<div class="header-container">
<header class="container main-header">
<?php if ($this->getIsHomePage()):?>
<h1 class="logo four columns alpha">
<strong><?php echo $this->getLogoAlt() ?></strong>
<a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo">
<img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" />
</a>
</h1>
<?php else:?>
<a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo">
<strong><?php echo $this->getLogoAlt() ?></strong>
<img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" />
</a>
<?php endif?>
<div class="quick-access seven columns offset-by-one omega">
<?php echo $this->getChildHtml('topSearch') ?>
<?php echo $this->getChildHtml('topLinks') ?>
<?php echo $this->getChildHtml('store_language') ?>
</div>
<h5 class="welcome-msg" align="center"><?php echo $this->getChildHtml('welcome') ?> <?php echo $this->getAdditionalHtml() ?></h5>
<?php echo $this->getChildHtml('topContainer'); ?>
</header>
</div>
<?php echo $this->getChildHtml('topMenu') ?>
Ok code on my generated index page look like this.
<div class="header-container">
<header class="container main-header">
<h1 class="logo four columns alpha"><strong></strong>
<a href="http://local.magehive/index.php/" title="" class="logo">
<img src="http://local.magehive/skin/frontend/levelup/default/images/logo.png" alt="">
</a>
</h1>
<div class="quick-access seven columns offset-by-one omega">
<form id="search_mini_form" action="http://local.magehive/index.php/catalogsearch/result/" method="get">
<div class="form-search">
<label for="search">Search:</label>
<input id="search" type="text" name="q" value="" class="input-text" maxlength="128" autocomplete="off">
<button type="submit" title="Search" class="button"><span><span>Search</span></span></button>
<div id="search_autocomplete" class="search-autocomplete" style="display: none;"></div>
<script type="text/javascript">
//<![CDATA[
var searchForm = new Varien.searchForm('search_mini_form', 'search', 'Search entire store here...');
searchForm.initAutocomplete('http://local.magehive/index.php/catalogsearch/ajax/suggest/', 'search_autocomplete');
//]]>
</script>
</div>
</form>
<ul class="eight columns links">
<li class="first"><a href="http://local.magehive/index.php/customer/account/" title="My Account">My Account</a></li>
<li><a href="http://local.magehive/index.php/wishlist/" title="My Wishlist">My Wishlist</a></li>
<li><a href="http://local.magehive/index.php/checkout/cart/" title="My Cart" class="top-link-cart">My Cart</a></li>
<li><a href="http://local.magehive/index.php/checkout/" title="Checkout" class="top-link-checkout">Checkout</a></li>
<li class=" last"><a href="http://local.magehive/index.php/customer/account/login/" title="Log In">Log In</a></li>
</ul>
</div>
<h5 class="welcome-msg" align="center">Moze poruka a ne mora da stoji </h5>
</header>
But code generated on other pages look like this for example contact
<div class="header-container">
<header class="container main-header">
<a href="http://local.magehive/index.php/" title="" class="logo"><strong></strong>
<img src="http://local.magehive/skin/frontend/levelup/default/images/logo.png" alt=""></a>
<div class="quick-access seven columns offset-by-one omega">
<form id="search_mini_form" action="http://local.magehive/index.php/catalogsearch/result/" method="get">
<div class="form-search">
<label for="search">Search:</label>
<input id="search" type="text" name="q" value="" class="input-text" maxlength="128" autocomplete="off">
<button type="submit" title="Search" class="button"><span><span>Search</span></span></button>
<div id="search_autocomplete" class="search-autocomplete" style="display: none;"></div>
<script type="text/javascript">
//<![CDATA[
var searchForm = new Varien.searchForm('search_mini_form', 'search', 'Search entire store here...');
searchForm.initAutocomplete('http://local.magehive/index.php/catalogsearch/ajax/suggest/', 'search_autocomplete');
//]]>
</script>
</div>
</form>
<ul class="eight columns links">
<li class="first"><a href="http://local.magehive/index.php/customer/account/" title="My Account">My Account</a></li>
<li><a href="http://local.magehive/index.php/wishlist/" title="My Wishlist">My Wishlist</a></li>
<li><a href="http://local.magehive/index.php/checkout/cart/" title="My Cart" class="top-link-cart">My Cart</a></li>
<li><a href="http://local.magehive/index.php/checkout/" title="Checkout" class="top-link-checkout">Checkout</a></li>
<li class=" last"><a href="http://local.magehive/index.php/customer/account/login/" title="Log In">Log In</a></li>
</ul>
</div>
<h5 class="welcome-msg" align="center">Moze poruka a ne mora da stoji </h5>
</header>
For some reason on any other page header.phtml dont generate this code and this is something I cannot find where it is the problem. Didint change anything in my local.xml file and looked in CMS pages and everything is ok there.
My question is this where did I make mistake and if so can I solve this. Tried creating again header.phtml and nothing everything is the same.
10x for any tip or help on this.
magento-1.9 phtml header code
add a comment |
Have some strange header.phtml error. Problem is non my index page everything is ok, and on any other page have some weird problem my header and menu change places.
code for my current header.phtml is this.
<div class="header-container">
<header class="container main-header">
<?php if ($this->getIsHomePage()):?>
<h1 class="logo four columns alpha">
<strong><?php echo $this->getLogoAlt() ?></strong>
<a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo">
<img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" />
</a>
</h1>
<?php else:?>
<a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo">
<strong><?php echo $this->getLogoAlt() ?></strong>
<img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" />
</a>
<?php endif?>
<div class="quick-access seven columns offset-by-one omega">
<?php echo $this->getChildHtml('topSearch') ?>
<?php echo $this->getChildHtml('topLinks') ?>
<?php echo $this->getChildHtml('store_language') ?>
</div>
<h5 class="welcome-msg" align="center"><?php echo $this->getChildHtml('welcome') ?> <?php echo $this->getAdditionalHtml() ?></h5>
<?php echo $this->getChildHtml('topContainer'); ?>
</header>
</div>
<?php echo $this->getChildHtml('topMenu') ?>
Ok code on my generated index page look like this.
<div class="header-container">
<header class="container main-header">
<h1 class="logo four columns alpha"><strong></strong>
<a href="http://local.magehive/index.php/" title="" class="logo">
<img src="http://local.magehive/skin/frontend/levelup/default/images/logo.png" alt="">
</a>
</h1>
<div class="quick-access seven columns offset-by-one omega">
<form id="search_mini_form" action="http://local.magehive/index.php/catalogsearch/result/" method="get">
<div class="form-search">
<label for="search">Search:</label>
<input id="search" type="text" name="q" value="" class="input-text" maxlength="128" autocomplete="off">
<button type="submit" title="Search" class="button"><span><span>Search</span></span></button>
<div id="search_autocomplete" class="search-autocomplete" style="display: none;"></div>
<script type="text/javascript">
//<![CDATA[
var searchForm = new Varien.searchForm('search_mini_form', 'search', 'Search entire store here...');
searchForm.initAutocomplete('http://local.magehive/index.php/catalogsearch/ajax/suggest/', 'search_autocomplete');
//]]>
</script>
</div>
</form>
<ul class="eight columns links">
<li class="first"><a href="http://local.magehive/index.php/customer/account/" title="My Account">My Account</a></li>
<li><a href="http://local.magehive/index.php/wishlist/" title="My Wishlist">My Wishlist</a></li>
<li><a href="http://local.magehive/index.php/checkout/cart/" title="My Cart" class="top-link-cart">My Cart</a></li>
<li><a href="http://local.magehive/index.php/checkout/" title="Checkout" class="top-link-checkout">Checkout</a></li>
<li class=" last"><a href="http://local.magehive/index.php/customer/account/login/" title="Log In">Log In</a></li>
</ul>
</div>
<h5 class="welcome-msg" align="center">Moze poruka a ne mora da stoji </h5>
</header>
But code generated on other pages look like this for example contact
<div class="header-container">
<header class="container main-header">
<a href="http://local.magehive/index.php/" title="" class="logo"><strong></strong>
<img src="http://local.magehive/skin/frontend/levelup/default/images/logo.png" alt=""></a>
<div class="quick-access seven columns offset-by-one omega">
<form id="search_mini_form" action="http://local.magehive/index.php/catalogsearch/result/" method="get">
<div class="form-search">
<label for="search">Search:</label>
<input id="search" type="text" name="q" value="" class="input-text" maxlength="128" autocomplete="off">
<button type="submit" title="Search" class="button"><span><span>Search</span></span></button>
<div id="search_autocomplete" class="search-autocomplete" style="display: none;"></div>
<script type="text/javascript">
//<![CDATA[
var searchForm = new Varien.searchForm('search_mini_form', 'search', 'Search entire store here...');
searchForm.initAutocomplete('http://local.magehive/index.php/catalogsearch/ajax/suggest/', 'search_autocomplete');
//]]>
</script>
</div>
</form>
<ul class="eight columns links">
<li class="first"><a href="http://local.magehive/index.php/customer/account/" title="My Account">My Account</a></li>
<li><a href="http://local.magehive/index.php/wishlist/" title="My Wishlist">My Wishlist</a></li>
<li><a href="http://local.magehive/index.php/checkout/cart/" title="My Cart" class="top-link-cart">My Cart</a></li>
<li><a href="http://local.magehive/index.php/checkout/" title="Checkout" class="top-link-checkout">Checkout</a></li>
<li class=" last"><a href="http://local.magehive/index.php/customer/account/login/" title="Log In">Log In</a></li>
</ul>
</div>
<h5 class="welcome-msg" align="center">Moze poruka a ne mora da stoji </h5>
</header>
For some reason on any other page header.phtml dont generate this code and this is something I cannot find where it is the problem. Didint change anything in my local.xml file and looked in CMS pages and everything is ok there.
My question is this where did I make mistake and if so can I solve this. Tried creating again header.phtml and nothing everything is the same.
10x for any tip or help on this.
magento-1.9 phtml header code
add a comment |
Have some strange header.phtml error. Problem is non my index page everything is ok, and on any other page have some weird problem my header and menu change places.
code for my current header.phtml is this.
<div class="header-container">
<header class="container main-header">
<?php if ($this->getIsHomePage()):?>
<h1 class="logo four columns alpha">
<strong><?php echo $this->getLogoAlt() ?></strong>
<a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo">
<img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" />
</a>
</h1>
<?php else:?>
<a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo">
<strong><?php echo $this->getLogoAlt() ?></strong>
<img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" />
</a>
<?php endif?>
<div class="quick-access seven columns offset-by-one omega">
<?php echo $this->getChildHtml('topSearch') ?>
<?php echo $this->getChildHtml('topLinks') ?>
<?php echo $this->getChildHtml('store_language') ?>
</div>
<h5 class="welcome-msg" align="center"><?php echo $this->getChildHtml('welcome') ?> <?php echo $this->getAdditionalHtml() ?></h5>
<?php echo $this->getChildHtml('topContainer'); ?>
</header>
</div>
<?php echo $this->getChildHtml('topMenu') ?>
Ok code on my generated index page look like this.
<div class="header-container">
<header class="container main-header">
<h1 class="logo four columns alpha"><strong></strong>
<a href="http://local.magehive/index.php/" title="" class="logo">
<img src="http://local.magehive/skin/frontend/levelup/default/images/logo.png" alt="">
</a>
</h1>
<div class="quick-access seven columns offset-by-one omega">
<form id="search_mini_form" action="http://local.magehive/index.php/catalogsearch/result/" method="get">
<div class="form-search">
<label for="search">Search:</label>
<input id="search" type="text" name="q" value="" class="input-text" maxlength="128" autocomplete="off">
<button type="submit" title="Search" class="button"><span><span>Search</span></span></button>
<div id="search_autocomplete" class="search-autocomplete" style="display: none;"></div>
<script type="text/javascript">
//<![CDATA[
var searchForm = new Varien.searchForm('search_mini_form', 'search', 'Search entire store here...');
searchForm.initAutocomplete('http://local.magehive/index.php/catalogsearch/ajax/suggest/', 'search_autocomplete');
//]]>
</script>
</div>
</form>
<ul class="eight columns links">
<li class="first"><a href="http://local.magehive/index.php/customer/account/" title="My Account">My Account</a></li>
<li><a href="http://local.magehive/index.php/wishlist/" title="My Wishlist">My Wishlist</a></li>
<li><a href="http://local.magehive/index.php/checkout/cart/" title="My Cart" class="top-link-cart">My Cart</a></li>
<li><a href="http://local.magehive/index.php/checkout/" title="Checkout" class="top-link-checkout">Checkout</a></li>
<li class=" last"><a href="http://local.magehive/index.php/customer/account/login/" title="Log In">Log In</a></li>
</ul>
</div>
<h5 class="welcome-msg" align="center">Moze poruka a ne mora da stoji </h5>
</header>
But code generated on other pages look like this for example contact
<div class="header-container">
<header class="container main-header">
<a href="http://local.magehive/index.php/" title="" class="logo"><strong></strong>
<img src="http://local.magehive/skin/frontend/levelup/default/images/logo.png" alt=""></a>
<div class="quick-access seven columns offset-by-one omega">
<form id="search_mini_form" action="http://local.magehive/index.php/catalogsearch/result/" method="get">
<div class="form-search">
<label for="search">Search:</label>
<input id="search" type="text" name="q" value="" class="input-text" maxlength="128" autocomplete="off">
<button type="submit" title="Search" class="button"><span><span>Search</span></span></button>
<div id="search_autocomplete" class="search-autocomplete" style="display: none;"></div>
<script type="text/javascript">
//<![CDATA[
var searchForm = new Varien.searchForm('search_mini_form', 'search', 'Search entire store here...');
searchForm.initAutocomplete('http://local.magehive/index.php/catalogsearch/ajax/suggest/', 'search_autocomplete');
//]]>
</script>
</div>
</form>
<ul class="eight columns links">
<li class="first"><a href="http://local.magehive/index.php/customer/account/" title="My Account">My Account</a></li>
<li><a href="http://local.magehive/index.php/wishlist/" title="My Wishlist">My Wishlist</a></li>
<li><a href="http://local.magehive/index.php/checkout/cart/" title="My Cart" class="top-link-cart">My Cart</a></li>
<li><a href="http://local.magehive/index.php/checkout/" title="Checkout" class="top-link-checkout">Checkout</a></li>
<li class=" last"><a href="http://local.magehive/index.php/customer/account/login/" title="Log In">Log In</a></li>
</ul>
</div>
<h5 class="welcome-msg" align="center">Moze poruka a ne mora da stoji </h5>
</header>
For some reason on any other page header.phtml dont generate this code and this is something I cannot find where it is the problem. Didint change anything in my local.xml file and looked in CMS pages and everything is ok there.
My question is this where did I make mistake and if so can I solve this. Tried creating again header.phtml and nothing everything is the same.
10x for any tip or help on this.
magento-1.9 phtml header code
Have some strange header.phtml error. Problem is non my index page everything is ok, and on any other page have some weird problem my header and menu change places.
code for my current header.phtml is this.
<div class="header-container">
<header class="container main-header">
<?php if ($this->getIsHomePage()):?>
<h1 class="logo four columns alpha">
<strong><?php echo $this->getLogoAlt() ?></strong>
<a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo">
<img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" />
</a>
</h1>
<?php else:?>
<a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo">
<strong><?php echo $this->getLogoAlt() ?></strong>
<img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" />
</a>
<?php endif?>
<div class="quick-access seven columns offset-by-one omega">
<?php echo $this->getChildHtml('topSearch') ?>
<?php echo $this->getChildHtml('topLinks') ?>
<?php echo $this->getChildHtml('store_language') ?>
</div>
<h5 class="welcome-msg" align="center"><?php echo $this->getChildHtml('welcome') ?> <?php echo $this->getAdditionalHtml() ?></h5>
<?php echo $this->getChildHtml('topContainer'); ?>
</header>
</div>
<?php echo $this->getChildHtml('topMenu') ?>
Ok code on my generated index page look like this.
<div class="header-container">
<header class="container main-header">
<h1 class="logo four columns alpha"><strong></strong>
<a href="http://local.magehive/index.php/" title="" class="logo">
<img src="http://local.magehive/skin/frontend/levelup/default/images/logo.png" alt="">
</a>
</h1>
<div class="quick-access seven columns offset-by-one omega">
<form id="search_mini_form" action="http://local.magehive/index.php/catalogsearch/result/" method="get">
<div class="form-search">
<label for="search">Search:</label>
<input id="search" type="text" name="q" value="" class="input-text" maxlength="128" autocomplete="off">
<button type="submit" title="Search" class="button"><span><span>Search</span></span></button>
<div id="search_autocomplete" class="search-autocomplete" style="display: none;"></div>
<script type="text/javascript">
//<![CDATA[
var searchForm = new Varien.searchForm('search_mini_form', 'search', 'Search entire store here...');
searchForm.initAutocomplete('http://local.magehive/index.php/catalogsearch/ajax/suggest/', 'search_autocomplete');
//]]>
</script>
</div>
</form>
<ul class="eight columns links">
<li class="first"><a href="http://local.magehive/index.php/customer/account/" title="My Account">My Account</a></li>
<li><a href="http://local.magehive/index.php/wishlist/" title="My Wishlist">My Wishlist</a></li>
<li><a href="http://local.magehive/index.php/checkout/cart/" title="My Cart" class="top-link-cart">My Cart</a></li>
<li><a href="http://local.magehive/index.php/checkout/" title="Checkout" class="top-link-checkout">Checkout</a></li>
<li class=" last"><a href="http://local.magehive/index.php/customer/account/login/" title="Log In">Log In</a></li>
</ul>
</div>
<h5 class="welcome-msg" align="center">Moze poruka a ne mora da stoji </h5>
</header>
But code generated on other pages look like this for example contact
<div class="header-container">
<header class="container main-header">
<a href="http://local.magehive/index.php/" title="" class="logo"><strong></strong>
<img src="http://local.magehive/skin/frontend/levelup/default/images/logo.png" alt=""></a>
<div class="quick-access seven columns offset-by-one omega">
<form id="search_mini_form" action="http://local.magehive/index.php/catalogsearch/result/" method="get">
<div class="form-search">
<label for="search">Search:</label>
<input id="search" type="text" name="q" value="" class="input-text" maxlength="128" autocomplete="off">
<button type="submit" title="Search" class="button"><span><span>Search</span></span></button>
<div id="search_autocomplete" class="search-autocomplete" style="display: none;"></div>
<script type="text/javascript">
//<![CDATA[
var searchForm = new Varien.searchForm('search_mini_form', 'search', 'Search entire store here...');
searchForm.initAutocomplete('http://local.magehive/index.php/catalogsearch/ajax/suggest/', 'search_autocomplete');
//]]>
</script>
</div>
</form>
<ul class="eight columns links">
<li class="first"><a href="http://local.magehive/index.php/customer/account/" title="My Account">My Account</a></li>
<li><a href="http://local.magehive/index.php/wishlist/" title="My Wishlist">My Wishlist</a></li>
<li><a href="http://local.magehive/index.php/checkout/cart/" title="My Cart" class="top-link-cart">My Cart</a></li>
<li><a href="http://local.magehive/index.php/checkout/" title="Checkout" class="top-link-checkout">Checkout</a></li>
<li class=" last"><a href="http://local.magehive/index.php/customer/account/login/" title="Log In">Log In</a></li>
</ul>
</div>
<h5 class="welcome-msg" align="center">Moze poruka a ne mora da stoji </h5>
</header>
For some reason on any other page header.phtml dont generate this code and this is something I cannot find where it is the problem. Didint change anything in my local.xml file and looked in CMS pages and everything is ok there.
My question is this where did I make mistake and if so can I solve this. Tried creating again header.phtml and nothing everything is the same.
10x for any tip or help on this.
magento-1.9 phtml header code
magento-1.9 phtml header code
edited Apr 19 at 10:41
Muhammad Anas
8091322
8091322
asked Dec 3 '18 at 8:16
Aleksandar ZubicAleksandar Zubic
1
1
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
I think you should look at your css file to check where the problem is. So, the problem is that on index frontend page, header and menu sort order is different than on all other pages?
I think that you have some styling on <h1 class="logo four columns alpha">
.
Yes on all other pages from some reason there is missing h1 tag and that were problem comes out. Checked and recheck everything but really annoy me . Code on generated index page is ok and like it should be with 2 columns layout , have some other pages with 2 or 3 columns layout and everywhere except home page are mess up. Even I tried to create hew header and how use still same error.
– Aleksandar Zubic
Dec 4 '18 at 8:17
h1 is missing because of this: <?php if ($this->getIsHomePage()):?> So, only on homepage, h1 will be in your code, elsewhere not.
– Anitr
Dec 4 '18 at 12:28
add a comment |
You are checked this code from inspect elements. As per above code in header like
<?php echo $this->getChildHtml('topSearch') ?>
this is short code to call search form into header file. Actually the form coming from Theme/default/template/catalogsearch/form.mini.phtml
file.
Above all short code coming form the particular file. So if you want to change into any section than just change into that files.
Thanks
add a comment |
Stupid thing but sorted it. Just added another div tag with class=logo four columns alpha and it ok now on all pages. Stupid mistake.
Maybe someone will have this must say very odd problem.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f252181%2fmagento-1-9-header-issue%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I think you should look at your css file to check where the problem is. So, the problem is that on index frontend page, header and menu sort order is different than on all other pages?
I think that you have some styling on <h1 class="logo four columns alpha">
.
Yes on all other pages from some reason there is missing h1 tag and that were problem comes out. Checked and recheck everything but really annoy me . Code on generated index page is ok and like it should be with 2 columns layout , have some other pages with 2 or 3 columns layout and everywhere except home page are mess up. Even I tried to create hew header and how use still same error.
– Aleksandar Zubic
Dec 4 '18 at 8:17
h1 is missing because of this: <?php if ($this->getIsHomePage()):?> So, only on homepage, h1 will be in your code, elsewhere not.
– Anitr
Dec 4 '18 at 12:28
add a comment |
I think you should look at your css file to check where the problem is. So, the problem is that on index frontend page, header and menu sort order is different than on all other pages?
I think that you have some styling on <h1 class="logo four columns alpha">
.
Yes on all other pages from some reason there is missing h1 tag and that were problem comes out. Checked and recheck everything but really annoy me . Code on generated index page is ok and like it should be with 2 columns layout , have some other pages with 2 or 3 columns layout and everywhere except home page are mess up. Even I tried to create hew header and how use still same error.
– Aleksandar Zubic
Dec 4 '18 at 8:17
h1 is missing because of this: <?php if ($this->getIsHomePage()):?> So, only on homepage, h1 will be in your code, elsewhere not.
– Anitr
Dec 4 '18 at 12:28
add a comment |
I think you should look at your css file to check where the problem is. So, the problem is that on index frontend page, header and menu sort order is different than on all other pages?
I think that you have some styling on <h1 class="logo four columns alpha">
.
I think you should look at your css file to check where the problem is. So, the problem is that on index frontend page, header and menu sort order is different than on all other pages?
I think that you have some styling on <h1 class="logo four columns alpha">
.
answered Dec 3 '18 at 10:38
AnitrAnitr
1931313
1931313
Yes on all other pages from some reason there is missing h1 tag and that were problem comes out. Checked and recheck everything but really annoy me . Code on generated index page is ok and like it should be with 2 columns layout , have some other pages with 2 or 3 columns layout and everywhere except home page are mess up. Even I tried to create hew header and how use still same error.
– Aleksandar Zubic
Dec 4 '18 at 8:17
h1 is missing because of this: <?php if ($this->getIsHomePage()):?> So, only on homepage, h1 will be in your code, elsewhere not.
– Anitr
Dec 4 '18 at 12:28
add a comment |
Yes on all other pages from some reason there is missing h1 tag and that were problem comes out. Checked and recheck everything but really annoy me . Code on generated index page is ok and like it should be with 2 columns layout , have some other pages with 2 or 3 columns layout and everywhere except home page are mess up. Even I tried to create hew header and how use still same error.
– Aleksandar Zubic
Dec 4 '18 at 8:17
h1 is missing because of this: <?php if ($this->getIsHomePage()):?> So, only on homepage, h1 will be in your code, elsewhere not.
– Anitr
Dec 4 '18 at 12:28
Yes on all other pages from some reason there is missing h1 tag and that were problem comes out. Checked and recheck everything but really annoy me . Code on generated index page is ok and like it should be with 2 columns layout , have some other pages with 2 or 3 columns layout and everywhere except home page are mess up. Even I tried to create hew header and how use still same error.
– Aleksandar Zubic
Dec 4 '18 at 8:17
Yes on all other pages from some reason there is missing h1 tag and that were problem comes out. Checked and recheck everything but really annoy me . Code on generated index page is ok and like it should be with 2 columns layout , have some other pages with 2 or 3 columns layout and everywhere except home page are mess up. Even I tried to create hew header and how use still same error.
– Aleksandar Zubic
Dec 4 '18 at 8:17
h1 is missing because of this: <?php if ($this->getIsHomePage()):?> So, only on homepage, h1 will be in your code, elsewhere not.
– Anitr
Dec 4 '18 at 12:28
h1 is missing because of this: <?php if ($this->getIsHomePage()):?> So, only on homepage, h1 will be in your code, elsewhere not.
– Anitr
Dec 4 '18 at 12:28
add a comment |
You are checked this code from inspect elements. As per above code in header like
<?php echo $this->getChildHtml('topSearch') ?>
this is short code to call search form into header file. Actually the form coming from Theme/default/template/catalogsearch/form.mini.phtml
file.
Above all short code coming form the particular file. So if you want to change into any section than just change into that files.
Thanks
add a comment |
You are checked this code from inspect elements. As per above code in header like
<?php echo $this->getChildHtml('topSearch') ?>
this is short code to call search form into header file. Actually the form coming from Theme/default/template/catalogsearch/form.mini.phtml
file.
Above all short code coming form the particular file. So if you want to change into any section than just change into that files.
Thanks
add a comment |
You are checked this code from inspect elements. As per above code in header like
<?php echo $this->getChildHtml('topSearch') ?>
this is short code to call search form into header file. Actually the form coming from Theme/default/template/catalogsearch/form.mini.phtml
file.
Above all short code coming form the particular file. So if you want to change into any section than just change into that files.
Thanks
You are checked this code from inspect elements. As per above code in header like
<?php echo $this->getChildHtml('topSearch') ?>
this is short code to call search form into header file. Actually the form coming from Theme/default/template/catalogsearch/form.mini.phtml
file.
Above all short code coming form the particular file. So if you want to change into any section than just change into that files.
Thanks
answered Dec 3 '18 at 13:24
NikulNikul
7211020
7211020
add a comment |
add a comment |
Stupid thing but sorted it. Just added another div tag with class=logo four columns alpha and it ok now on all pages. Stupid mistake.
Maybe someone will have this must say very odd problem.
add a comment |
Stupid thing but sorted it. Just added another div tag with class=logo four columns alpha and it ok now on all pages. Stupid mistake.
Maybe someone will have this must say very odd problem.
add a comment |
Stupid thing but sorted it. Just added another div tag with class=logo four columns alpha and it ok now on all pages. Stupid mistake.
Maybe someone will have this must say very odd problem.
Stupid thing but sorted it. Just added another div tag with class=logo four columns alpha and it ok now on all pages. Stupid mistake.
Maybe someone will have this must say very odd problem.
answered Dec 4 '18 at 8:55
Aleksandar ZubicAleksandar Zubic
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f252181%2fmagento-1-9-header-issue%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown