WordPress.org

Forums

Multisite Language Switcher
[resolved] Place flags in navigation bar: Alternative Way (2 posts)

  1. jgoldberg2013
    Member
    Posted 2 years ago #

    The reason for the use of this alternative method is because the input code the plug-in provided did not work with my theme for some reason - I used it in the Responsive theme by ThemeID.
    The way is to use margins to force the widget down into the navigation bar.
    You may have to alter your code to work with the navigation styling but the method shold be the same.
    I have also tried many ways to get this work in all browsers and this is the best I could find - I am not an expert on coding but it worked for me.
    #header .main-nav {
    clear: left;float: left; */ (your navigation-bar tag might differ) */

    }
     #top-widget {
      float: right;
      margin-bottom:-45px; /*(however high your nav bar is) */
      height: 45px;  /*(same as height of nav-bar)*/
      background-color: #585858; /*(change or remove color) */
      border: 1px; border-color: #585858; /*(change or remove color)*/
      overflow: hidden;
     }

    I hope this helps you as it was quite a pain to get to this point but am glad to help you save some time.

    http://wordpress.org/extend/plugins/multisite-language-switcher/

  2. jgoldberg2013
    Member
    Posted 2 years ago #

    Styling the flags - seperating each flag slightly.
    [title=WHAT EVER YOUR LANNGUAGE IS] { padding: 0 10px;}
    hope that helps.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multisite Language Switcher
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.