Jump to content

How to bold a selected menu option?


Recommended Posts

You'll need to modify modules/blockmanufacturers/blockmanufacturers.tpl and change line 10 from:

<a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}" title="{l s='More about' mod='blockmanufacturer'} {$manufacturer.name}">{$manufacturer.name|escape:'htmlall':'UTF-8'}



to:

<a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}" title="{l s='More about' mod='blockmanufacturer'} {$manufacturer.name}">{$manufacturer.name|escape:'htmlall':'UTF-8'}



This will add a "selected" class to the current manufacturer, which you can then style in global.css.

Link to comment
Share on other sites

I just tried this but it didn't work, did I do something wrong?


/* Block manufacturer */
.blockmanufacturer ul, .blocksupplier ul {
   padding-bottom: 0.6em;
}
.blockmanufacturer select, .blocksupplier select {
   width: 100%;
   margin: 0;
   font: bold;
}

Link to comment
Share on other sites

  • 3 years later...
×
×
  • Create New...