Jump to content

Recommended Posts

Hi guys;

 

I have been working with the TM Categories module, which acts as my site navigation module. It displays all my categories and their subcategories horizontally.

 

With the update of Prestashop 1.5, this module no longer works correctly, and thus I'm hoping to replace it with Prestashop's very own horizontal top menu module.

 

The code for the TM Categories module is;

/* ————— tmcategories.tpl ————— */
#tmcategories {height:47px;float:left;padding:59px 0 0 0;}
#cat {}
#cat > li {float:left;position:relative;z-index:100;}
#cat > li + li {padding:0 0 0 29px;}
#cat > li > a {height:34px;display:block;padding:13px 0 0 0;font:14px "Oswald";color:#b5b5b5;text-decoration:none;text-transform:uppercase;}
#cat > li:hover > a,
#cat > li > a.selected {color:#111;}
#cat li ul.subcat {width:194px;padding:10px 0 19px 0;background:#2c2c2c;position:absolute;left:0;top:47px;display:none;}
#cat li:hover ul.subcat {}
#cat ul.subcat li {padding:7px 10px 0 32px;background:url(../img/tmc_bullet.png) 21px 15px no-repeat;position:relative;}
#cat ul.subcat li:first-child {padding-top:;}
#cat ul.subcat li.last {padding-bottom:;}
#cat ul.subcat li a {color:#6d6d6d;font:12px "Oswald";text-decoration:none;text-transform:uppercase;}
#cat ul.subcat li a:hover,
#cat ul.subcat li a.selected {color:#fff;}
#cat ul.subcat li ul.subcat {left:195px;top:-10px;}

 

I'm hoping somebody could please help me change the code of this new top horiztonal menu so it works correctly.

 

Thanks in advance;

PS I have attached a photo of how the current module is displayed

post-338497-0-02272800-1347924723_thumb.png

Link to comment
Share on other sites

  • 9 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...