| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
long category name in menu | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Re: long category name in menu
So if I add the <li> tags to the menu, then in the css file I could add:
ul { list-style-image: url(bullet.gif); } to create the bullet image for each line on the menu, right? I added the list tags but the text is still not aligned? thanks!!
__________________
Version 4.2.0 Gold |
|||||||
#12
|
|||||||
|
|||||||
Re: long category name in menu
It would go inside the foreach, like this:
<li><font class="CategoriesList"><a href="home.php?cat={$c.categoryid}" class="VertMenuItems iconlink">{$c.category}</a></font></li>
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#13
|
|||||||
|
|||||||
Re: long category name in menu
that worked for firefox, but internet explorer still does not align?
http://www.virtualgeorge.com/shop/home.php
__________________
Version 4.2.0 Gold |
|||||||
#14
|
|||||||
|
|||||||
Re: long category name in menu
Get rid of the style sheet specifying the bullet.gif and see if the default bullet behaves the same way.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#15
|
|||||||
|
|||||||
Re: long category name in menu
Yes, tried it with & without bullet image, same result.
Currently I have nothing in the css specifying a bullet image.
__________________
Version 4.2.0 Gold |
|||||||
#16
|
|||||||
|
|||||||
Re: long category name in menu
Try this:
<ul> {foreach from=$categories item=c} <li><font class="CategoriesList"><a href="home.php?cat={$c.categoryid}" class="VertMenuItems iconlink">{$c.category}</a></font></li> {/foreach} </ul>
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#17
|
|||||||
|
|||||||
Re: long category name in menu
Thanks! That code worked for the alignment, I had left out the ul tags.
__________________
Version 4.2.0 Gold |
|||||||
|
|||
X-Cart forums © 2001-2020
|