noesac Posted June 17, 2010 Share Posted June 17, 2010 If I have a manufacturer selected for example: http://i46.tinypic.com/nl2xiw.pngIt doesn't get bolded, or the color doesn't change like with the regular left hand navigation menu. Is there anyway I can change this? Link to comment Share on other sites More sharing options...
rocky Posted June 17, 2010 Share Posted June 17, 2010 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 More sharing options...
noesac Posted June 17, 2010 Author Share Posted June 17, 2010 I'm poking around in admin.css right now, which one is it?Is it "#nav li"?I'm thinking I need to add "font:bold;" to this? Link to comment Share on other sites More sharing options...
rocky Posted June 17, 2010 Share Posted June 17, 2010 That's the wrong CSS file. You should be looking at the /* Block manufacturer */ section of themes/yourtheme/css/global.css. Link to comment Share on other sites More sharing options...
noesac Posted June 17, 2010 Author Share Posted June 17, 2010 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 More sharing options...
rocky Posted June 17, 2010 Share Posted June 17, 2010 That's wrong. You should apply the bold to li.selected, not the dropdown box. Try adding this: .blockmanufacturer li.selected { font-weight: bold } Link to comment Share on other sites More sharing options...
noesac Posted June 17, 2010 Author Share Posted June 17, 2010 That worked like a charm, thanks again!!! Link to comment Share on other sites More sharing options...
rocky Posted June 17, 2010 Share Posted June 17, 2010 If this issue is resolved, please edit your first post and add [sOLVED] to the front of the title.I'm having a look at your other topic now. Link to comment Share on other sites More sharing options...
noesac Posted June 17, 2010 Author Share Posted June 17, 2010 no worries will do Link to comment Share on other sites More sharing options...
sampatilla Posted July 20, 2013 Share Posted July 20, 2013 Hi, I try to do this on the version 1.5.4 but it doesn't works...!! Could be the problem in .tpl archive? Thanks, Link to comment Share on other sites More sharing options...
Recommended Posts