Fashionist Posted May 7, 2014 Share Posted May 7, 2014 Hi all, I would like to move blocklanguage and blockcurrencies on the left as the pic. Then I'd like to change text of this modules with icons like italian and english flasg and euro and dollar icon for the block currencies. How can I do this???? Here the pic: Link to comment Share on other sites More sharing options...
vekia Posted May 8, 2014 Share Posted May 8, 2014 change float to left, like i show below: currencies-block-top { float: left; border-left: 1px solid #515151; position: relative; } and #languages-block-top { float: left; border-left: 1px solid #515151; position: relative; } files: /themes/default-bootstrap/css/modules/blocklanguages/blocklanguages.css /themes/default-bootstrap/css/modules/blockcurrencies/blockcurrencies.css Link to comment Share on other sites More sharing options...
Fashionist Posted May 8, 2014 Author Share Posted May 8, 2014 (edited) So blocklanguage ok but blockcurrencies has a problem...it remains on the right but if I click on it the result is in the pic (I click on the right and the list appear on the left under block language :| ): and how can I change text in icon? Thanks Vekia Edited May 8, 2014 by Fashionist (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 8, 2014 Share Posted May 8, 2014 can you add my ip to your maintenance mode? i sent you PM Link to comment Share on other sites More sharing options...
Fashionist Posted May 8, 2014 Author Share Posted May 8, 2014 done Link to comment Share on other sites More sharing options...
vekia Posted May 8, 2014 Share Posted May 8, 2014 your styles: header .nav nav #currencies-block-top { float: right; } as you can see there is still float:right; you have to use float:left; global.css line 5285 Link to comment Share on other sites More sharing options...
vekia Posted May 8, 2014 Share Posted May 8, 2014 and add there also position:relative; effect: sory for triple posting Link to comment Share on other sites More sharing options...
Fashionist Posted May 9, 2014 Author Share Posted May 9, 2014 Perfect Vekia!!!!!! Greaatttt Now how can I change text with icon. I'd like to have italian flag instead "italian language" etc Link to comment Share on other sites More sharing options...
vekia Posted May 9, 2014 Share Posted May 9, 2014 in this case it will be necessary to modify module .tpl file by default there is a code like {foreach from=$languages key=k item=language name="languages"} {if $language.iso_code == $lang_iso} <div class="current"> <span>{$language.name|regex_replace:"/\s.*$/":""}</span> </div> {/if} {/foreach} change it to {foreach from=$languages key=k item=language name="languages"} {if $language.iso_code == $lang_iso} <p class="selected_language"> <img src="{$img_lang_dir}{$language.id_lang}.jpg" alt="{$language.iso_code}" width="16" height="11" /> </p> {/if} {/foreach} you want to change text to flag also for not selected languages? Link to comment Share on other sites More sharing options...
Fashionist Posted May 9, 2014 Author Share Posted May 9, 2014 hmmm I'd like to add a flag near the language and the simbol of money near the currency like this pic: I have done modify that you have suggested me but I have not results..... Link to comment Share on other sites More sharing options...
vekia Posted May 9, 2014 Share Posted May 9, 2014 and code taht i suggested to use what did ? Link to comment Share on other sites More sharing options...
Fashionist Posted May 10, 2014 Author Share Posted May 10, 2014 No result with your suggest Vekia... Link to comment Share on other sites More sharing options...
vekia Posted May 10, 2014 Share Posted May 10, 2014 you used this code in proper file? if module file exists in theme directory- you have to apply changes there. in addition, due to the caching system is always worth to clear shop cache and turn on force compile while you work on your theme Link to comment Share on other sites More sharing options...
Fashionist Posted May 12, 2014 Author Share Posted May 12, 2014 (edited) Yes. Used like your suggest But Nothing to do..... Edited May 12, 2014 by Fashionist (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts