I’m trying to align the top menu to the right (for RTL language store) and the background get mixed up, as you can see here:
http://ink-o.co.il/
Another thing is’ when I’m trying to add custom menu items it’s not getting the same design as the other tabs. you can see the ANYTEXT tab is a custom tab.
What I did is to add the following line to top.phtml:
Code:
<li><a href="<?php echo $this->getUrl('www.anysite.com')?>"><?php echo $this->__('ANYTEXT') ?></a></li>
right after:
Code:
<?php echo $_menu ?>
Yigal
1 answer
Hi.
I’m trying to align the top menu to the right (for RTL language store) and the background get mixed up
You need to change some css here
Code:
#ja-mainnav a.nav-home:hover, #ja-mainnav a.nav-home:active, #ja-mainnav a.nav-home:focus { color: #FFFFFF; background: url(../images/mainnav-hover.gif) no-repeat left #454545; } #ja-mainnav a.nav-home:hover span, #ja-mainnav a.nav-home:active span, #ja-mainnav a.nav-home:focus span { color: #FFFFFF; background: url(../images/mainnav-hover.gif) no-repeat right; }
in file skin\frontend\default\jm_tube\csstheme.css
Another thing is’ when I’m trying to add custom menu items it’s not getting the same design as the other tabs. you can see the ANYTEXT tab is a custom tab.
Pls replace
PHP Code:
<li><a href="<?php echo $this->getUrl('www.anysite.com')?>"><?php echo $this->__('ANYTEXT') ?></a></li>
with
PHP Code:
<li><a href="<?php echo $this->getUrl('www.anysite.com')?>" class="level-top"><span><?php echo $this->__('ANYTEXT') ?></span></a></li>
This question is now closed