El Patron Posted November 9, 2013 Share Posted November 9, 2013 Adding currencies for a customer shop and it would look much better (for many currencies) if the currency is in a drop down. Note: the currency will be auto selected by their IP country... Is there an easy way to accomplish this and keep their thememing? Thanks in advance for looking at this... http://www.nicolete.es/en/ Link to comment Share on other sites More sharing options...
El Patron Posted November 9, 2013 Author Share Posted November 9, 2013 vekia...i am waiting...jajajaja 1 Link to comment Share on other sites More sharing options...
vekia Posted November 9, 2013 Share Posted November 9, 2013 If i were you i will use default currencies switcher .tpl file (and css styles) it should work EDIT: are you able to do it now? Link to comment Share on other sites More sharing options...
vekia Posted November 9, 2013 Share Posted November 9, 2013 tpl: http://pastebin.com/x7RCXbcM css: http://pastebin.com/PXWXpAS1 Link to comment Share on other sites More sharing options...
El Patron Posted November 9, 2013 Author Share Posted November 9, 2013 yes, I thought that might be the best way to go...but then I thought best to solicit advice. I will copy the default block currency into the theme folder... and post back with results Link to comment Share on other sites More sharing options...
El Patron Posted November 9, 2013 Author Share Posted November 9, 2013 ave maira ok, so I copied a 1.5.4.1 blockcurrency into the theme folder. What I am having a problem with is changing the .css in the module folder...i.e. the background etc. when I inspect the element it shows in the .css in the theme cache...but it seems to pick up the changes... but it does not actually do a straight drop down and I've tried to remove the black background of the drop down...but it has no affect. /*background:#000000;*/ on line 58 your review is much appreciated. http://screencast.com/t/S8VmDzOEuLqJ Link to comment Share on other sites More sharing options...
Pabs Posted November 9, 2013 Share Posted November 9, 2013 Hello, maybe just find this line in your css code: #currencies_block_top ul#first-currencies li {margin-left: 0;margin-right: 5px;float: left;} and comment the float:left; command : /*float:left*/ will help. See you Link to comment Share on other sites More sharing options...
El Patron Posted November 9, 2013 Author Share Posted November 9, 2013 Hello, maybe just find this line in your css code: #currencies_block_top ul#first-currencies li {margin-left: 0;margin-right: 5px;float: left;} and comment the float:left; command : /*float:left*/ will help. See you nope, could not find it. when it comes to css...I need a lot of hand holding Link to comment Share on other sites More sharing options...
Pabs Posted November 9, 2013 Share Posted November 9, 2013 (edited) Could not give you the exact path because as CSS is "compressed" I got something like this: http://www.nicolete.es/themes/autumn/cache/9fb97e812128ad0b29638d2f1042471f_all.css Edited November 9, 2013 by Pabs (see edit history) 1 Link to comment Share on other sites More sharing options...
El Patron Posted November 9, 2013 Author Share Posted November 9, 2013 Could not give you the exact path because as CSS is "compressed" I got something like this: http://www.nicolete.es/themes/autumn/cache/9fb97e812128ad0b29638d2f1042471f_all.css I turned off 'smart cache for css'...now maybe we can get somewhere...I need a nap. Link to comment Share on other sites More sharing options...
Pabs Posted November 9, 2013 Share Posted November 9, 2013 (edited) Here's the file : themes/autumn/css/autumn.css line 1073 Tell me if it helps Edited November 9, 2013 by Pabs (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted November 9, 2013 Author Share Posted November 9, 2013 Here's the file : themes/autumn/css/autumn.css line 1073 Tell me if it helps that did in fact help...but we are off a little and where the heck is that stupid black background coming from? 1073 now commented out (i.e. float:left) Link to comment Share on other sites More sharing options...
Pabs Posted November 9, 2013 Share Posted November 9, 2013 Nice, happy to hear that. that did in fact help...but we are off a little and where the heck is that stupid black background coming from? Go to /modules/blockcurrencies/blockcurrencies.css line 49 and comment or change the background-color property Link to comment Share on other sites More sharing options...
El Patron Posted November 9, 2013 Author Share Posted November 9, 2013 Nice, happy to hear that. Go to /modules/blockcurrencies/blockcurrencies.css line 49 and comment or change the background-color property done now just the alignment issue and I can walk away and never do this again. I was modifying the blockcurrencies.css in the theme folder....ave maria.. Link to comment Share on other sites More sharing options...
Pabs Posted November 9, 2013 Share Posted November 9, 2013 now just the alignment issue and I can walk away and never do this again. Where exactly do you want to display it ? Link to comment Share on other sites More sharing options...
El Patron Posted November 9, 2013 Author Share Posted November 9, 2013 the drop down currencies should align with the selected currency...now they are somewhat shifted to the left of that. where are you located pabs? Link to comment Share on other sites More sharing options...
Pabs Posted November 9, 2013 Share Posted November 9, 2013 In the same file (line 49) just change this: ... right:3px; padding: 5px 10px; ... to ... right:0px; padding:5px 0px; ... I'm in Belgium right now (nice beer) . Link to comment Share on other sites More sharing options...
Pabs Posted November 9, 2013 Share Posted November 9, 2013 (edited) And remember that comment a line in css files should be something temporary. Once you're sure just remove the commented lines. Have a nice day. Edited November 9, 2013 by Pabs (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted November 9, 2013 Author Share Posted November 9, 2013 yes, you all are beer czars, you bought Budweiser (I am in Missouri right now)...and I think another one of our local micro brewerys, boulevard was just bought by Belgium. ok, so now I just need to fix the font sizes and color...I think I can manage now.... send me your paypal email address (via pm), I will be happy to buy you a few beers... Fred Link to comment Share on other sites More sharing options...
Pabs Posted November 9, 2013 Share Posted November 9, 2013 send me your paypal email address (via pm), I will be happy to buy you a few beers... I really appreaciate, but I'm just happy to help you... and the "like" you gave me is more than enough. Bye Fred. 1 Link to comment Share on other sites More sharing options...
Recommended Posts