Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #447790

    Dear Kriesi,

    We want to add a Currency Switcher (maybe https://wordpress.org/plugins/woocommerce-currency-switcher/)

    Documentation at http://currency-switcher.com/documentation/#!/section_3

    It has is own shortcode [woocs show_flags=1 width=’300px’ flag_position=’right’]

    or can be put as widget in any sidebar

    I would like instead to place it in the Header Secondary Menu or, if not possible, in the Main header area.

    How can I do it?

    Thank you Mauro

    #448512

    Hi profumopuntoit!

    You can do this, http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/, to add a widget area to your header.

    Send us a link to your page after your done and let us know where you want to position it and we’ll give you some CSS to use.

    Regards,
    Elliott

    #448545

    Dear Elliott
    Thank you very much.
    This is a link to our website http://goo.gl/5ngTJv
    Actually I would like to have the widget in the Header Secondary Menu on the left of Account Login. If it not possible I may move the Header Social Icons to the Header Secondary Menu and I would like the switch at the left of the cart icon
    Please see http://www.profumo.it/main-header.PNG and http://www.profumo.it/secondary.PNG

    Thank you Mauro

    #448554

    Now widget is where it is using:

    #header .widget {
    padding-top: 0;
    position: absolute;
    top: 0;
    transform: translate(-50%);
    }

    #449503

    Hey!

    Please add following code to Quick CSS

    #header_meta { z-index: 3; }
    #header .widget {
      top: -147px;
      left: 55px;
    }

    Cheers!
    Yigit

    #456831

    Thank you Jigit

    But in this way it is not responsive: will completely disappear when browsing from a mobile.

    Actually I would like to have it at the right of the Secondary Menu in the top bar not in the main header. Is it possible?

    (PS: we changed plugin, now we use “Currency Switcher for WooCommerce”)

    #457325

    Hey!

    To move the Woocommerce cart to the top right of your page then try this out.

    @media screen and (max-width:767px) {
    .responsive #top .cart_dropdown {
      right: -34px !important;
      top: -55px !important;
    }
    }

    If that’s not what your wanting to do either then take a screenshot and highlight exactly what your trying to do so we can get a better idea.

    Cheers!
    Elliott

    #457355

    Thank you but I don’t see any change. I cannot see the currency switch on my mobile (5 inches Android 4.4.2 )
    For a desktop you can refer to the screenshot posted earlier. Please see http://www.profumo.it/main-header.PNG and http://www.profumo.it/secondary.PNG
    For a mobile in one of the two position indicated in http://www.profumo.it/android.PNG

    Thank you
    Mauro

    #457927

    Hey!

    To move the currency switcher to the right hand side then use this CSS.

    #header .widget {
      position: absolute;
      right: 80px;
      top: -90px;
      width: auto;
      z-index: 9999 !important;
    }

    To get it to display on mobiles add this.

    @media screen and (max-width:767px) {
    #header_main_alternate { display: block !important; }
    nav.main_menu { display: none !important; }
    }
    

    Best regards,
    Elliott

    #457975

    Thank you Elliott,

    very good on a desktop but stays just over the logo on mobile
    I added left and top position like this:
    #header .widget {
    position: absolute;
    right: 90px;
    top: -90px;
    width: auto;
    z-index: 9999 !important;
    }
    @media screen and (max-width:767px) {
    #header_main_alternate { display: block !important; }
    nav.main_menu { display: none !important; }
    #header .widget {
    position: absolute;
    left: -10px;
    top: -130px;
    width: auto;
    z-index: 9999!important;
    }}

    but element remain under secondary top bar

    I tried with
    position:relative;
    z-index: 0!important;
    but not helping

    Thank you Mauro

    #458206

    Hi!

    Where do you want to place the currency switcher on mobile screens? If you want it below the header, adjust the top position:

    @media screen and (max-width: 767px) {
    #header .widget {
      left: -10px;
      top: 0px;
    }}

    Remove browser cache then reload the page.

    Best regards,
    Ismael

    #458286

    I would be grateful to receive suggestion in where to place it.
    One of the points where Prestashop is really superior to WooCommerce is that is multi-currency and multi-language out of the box.
    Your theme is the state of the art of WooCommerce themes. If you will look after how to programmatically place this elements (currency menu and language flags), you will fill a very important gap.

    As I said before for a mobile I would like to have it in one of the two position indicated in http://www.profumo.it/android.PNG

    If I try the suggested code dropdown menu is invisible

    @media screen and (max-width: 767px) {
    #header .widget {
    left: -10px;
    top: 0px;
    }}

    I am close to what I want with

    @media screen and (max-width:767px) {
    #header_main_alternate { display: block !important; }
    #header .widget {
    left: 220px;
    top: -120px;
    }}

    top should be something around
    top: -150px;
    but if I move it up there it will disapper below secondary top bar

    Please see http://www.profumo.it/andr.PNG

    Thank you Mauro

    #458719

    Hi!

    Please try this:

    @media screen and (max-width: 767px) {
    #header_main {
      z-index: 50;
    }
    
    .widget_wc_aelia_currencyswitcher_widget select#aelia_cs_currencies {
      font-size: 11px;
      height: 25px;
    }
    
    @media screen and (max-width: 767px)
    #header .widget {
      left: 0px;
      top: -140px;
      width: 100px;
    }
    }

    The code should position the widget above the logo, beside the “Account” menu item.

    Cheers!
    Ismael

    #459221

    Thank you Ismael

    Yes like this goes above the logo but UNDER secondary top bar and thus becoming invisible.
    I tried also with different z-index directives like
    @media screen and (max-width: 767px)
    #header .widget {
    left: 0px;
    top: -140px;
    width: 100px;
    z-index: 9999 !important;
    }
    }
    Thank you Mauro

    #459897

    Hi!

    The #header_main’s z-index should take care of that. Please test the code above. Remove browser cache then reload the page.

    Cheers!
    Ismael

    #459955

    Dear Ismael,
    I disabled W3 Total Cache, I emptied the cache in my two browser in my mobile (Chrome and Firefox) but I cannot see it. Do you?

    #460330

    Hey!

    Please add following code to Quick CSS as well

    @media only screen and (max-width: 767px) {
    .main_menu .avia-menu, #header_main_alternate, .fallback_menu {
      display: block;
    }
    nav.main_menu {
      display: none;
    }
    .widget_wc_aelia_currencyswitcher_widget select#aelia_cs_currencies {
      height: 35px;
    }}

    Regards,
    Yigit

    #460615

    Dear Yigit
    Same result like before, with this code switch sits over the logo, if I try to move it where I want it goes under top bar element.
    Shall I give you login credentials?
    Thank you Mauro

    #460917

    Hey!

    Yes Mauro, please post them here privately.

    Regards,
    Yigit

    #460927
    This reply has been marked as private.
    #461533

    Hi!

    Changes are done. I have added additional custom CSS to bottom of Quick CSS field. Please review your website now.

    Best regards,
    Yigit

    #461826

    That’s great. Thank you Yigit

    #461856

    Hey!

    You are welcome, glad we could help! :) Let us know if you have any other questions or issues and have a great weekend

    Cheers!
    Yigit

Viewing 23 posts - 1 through 23 (of 23 total)
  • The topic ‘WooCommerce Currency Switcher’ is closed to new replies.