• Resolved martafont

    (@martafont)


    Hi

    Reading previous posts I could place MSML in the top header, sooo many thanks to all! But somehow I can’t align it top right? It just sticks to left moving all the other contact info down.

    website is http://www.ibuc.es (the malva top header). You’ll see there is Catalan and Español left side but I would like that on the right.

    I am using Divi Theme from elegant themes.

    I am a kind of newbie on coding but I now I have to somewhere put an <div align=right> but everywhere i put it just did not work.

    Thanks

    https://ww.wp.xz.cn/plugins/multisite-language-switcher/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dennis Ploetner

    (@realloc)

    Thread Starter martafont

    (@martafont)

    Hi,

    The <div id=”language”>
    <?php if ( function_exists( ‘the_msls’ ) ) the_msls(); ?>
    </div> is already there, and works perfect appearing left side (as It is now).

    I want it exactly where it is now, but on the right side, just on top of the main menu. I know it might be something easy and stupid but I just did not found out how (and where) to put the code.

    Do I have to put this on the style.css????

    #language { position:absolute; top:34px; right:7px; }
    #language a { margin-left:5px; }

    thanks a lot

    Plugin Author Dennis Ploetner

    (@realloc)

    I would try it like this:

    Add

    <div id="language">
      <?php if ( function_exists( 'the_msls' ) ) the_msls(); ?>
    </div>

    before the closing </div>s of these containers

    <div id="top-header" class="et_nav_text_color_light">
      <div class="container clearfix">
        ...
      </div>
    </div>

    Change this in your styles.css on line 181 to

    #top-header .container {
        padding-top: 10px;
        position: relative;
    }

    and add these lines to your CSS

    #language {
        position: absolute;
        top: 0;
        right: 0;
    }
    #language a {
        margin-left: 5px;
    }

    and check if this fit your needs.

    Let me know,
    Dennis.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Placing MSML right’ is closed to new replies.