steve_c Posted September 7, 2012 Share Posted September 7, 2012 Hi all Wondering if it's possible to change font depending on the language selected for the front office? I am offering my site in Russian but the text for the translated menu means that the current font size will not be suitable. I need to use a smaller font for the menu on the Russian version of my site. Is this possible? Thanks in advance! 1 Link to comment Share on other sites More sharing options...
steve_c Posted September 7, 2012 Author Share Posted September 7, 2012 I solved this. I was using TM Categories mod for the menu and used this code: <div id="tmcategories"> {if $lang_iso == "ru"}<ul id='ru_cat' class='sf-menu'>{elseif $lang_iso == "en"}<ul id="cat" class="sf-menu">{/if} {foreach from=$blockCategTree.children item=child name=blockCategTree} {if $smarty.foreach.blockCategTree.last} {include file="$branche_tpl_path" node=$child last='true'} {else} {include file="$branche_tpl_path" node=$child} {/if} {/foreach} </ul> </div> It changes the style depending on language iso code. Just configure the css in your applicable theme stylesheet. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now