[Support request] WPML language switcher in new line

Home Forums Support [Support request] WPML language switcher in new line

Home Forums Support WPML language switcher in new line

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #1681365
    Łukasz

    Hello again
    We need another approach to get good result.
    Actually I see that when I add something to CART also english version changes and flags are NOT in new line

    #1681975
    David
    Staff
    Customer Support

    theres no easy way of controlling that. You can however set a different width for english and Polish using this CSS:

    /* Max width for English site */
    .main-navigation .main-nav>ul {
      max-width: 700px;
    }
    
    .nav-float-right #site-navigation {
      margin-left: 10px;
    }
    
    /* Max Width for Polish site */
    
    html[lang="pl-PL"] .main-navigation .main-nav>ul {
      max-width: 700px;
    }
    
    html[lang="pl-PL"] .nav-float-right #site-navigation {
      margin-left: 10px;
    }

    Adjust the max-width and margins to control the two navigations.

Viewing 2 posts - 16 through 17 (of 17 total)
  • You must be logged in to reply to this topic.