Title: SELECTOR / SWITCHER
Last modified: August 22, 2016

---

# SELECTOR / SWITCHER

 *  Resolved [masmaz](https://wordpress.org/support/users/masmaz/)
 * (@masmaz)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/selector-switcher-1/)
 * hi
 * the code for the SELECTOR / SWITCH language does not work.
    I do not use the 
   WIDGETS, I know I used this code as Indicated in your guide: `<? Php echo qtrans_generateLanguageSelectCode('
   Both'); ?>` but it does not work Gives me a blank page, the site is no longer
   seen …
 * what can I do
 * regards
    Max
 * [https://wordpress.org/plugins/qtranslate/](https://wordpress.org/plugins/qtranslate/)

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

 *  [Carret](https://wordpress.org/support/users/carret/)
 * (@carret)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/selector-switcher-1/#post-5355421)
 * Syntax review:
 *     ```
       <?php echo qtrans_generateLanguageSelectCode('both'); ?>
       ```
   
 * I guess you will like look here too: Horizontal arrangement for flags
    [https://wordpress.org/support/topic/plugin-qtranslate-horizontal-arrangement-for-flags](https://wordpress.org/support/topic/plugin-qtranslate-horizontal-arrangement-for-flags)
 *  Thread Starter [masmaz](https://wordpress.org/support/users/masmaz/)
 * (@masmaz)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/selector-switcher-1/#post-5355467)
 * thanks for your post
 * but I see that the code is the same … is ok of course I also had taken the space
   that there is’ in
 * > <? php …
 * by entering this code, however, nothing appears
 * I also put this code in the file style.css:
 * > #qtranslate-chooser { margin: 0 18px 0 0; }
   >  #qtranslate-chooser li { float:
   > left; margin: 8px 5px 0 0; }
 * but even this does not work … bho, we’ll work a little
 * regards
    max
 *  Thread Starter [masmaz](https://wordpress.org/support/users/masmaz/)
 * (@masmaz)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/selector-switcher-1/#post-5355474)
 * ok now it works you can see the flags, however, are seen in vertical and in horizontal…
 * .qtranslate-chooser { margin: 0 18px 0 0; }
    .qtranslate-chooser li { float:left;
   margin: 8px 5px 0 0; }
 * ok now it works you can see the flags, however, are seen in vertical and in horizontal…
 * css code works with the starting point and not with the gate, but it works only
   vertical and not horizontal
 *  Thread Starter [masmaz](https://wordpress.org/support/users/masmaz/)
 * (@masmaz)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/selector-switcher-1/#post-5355483)
 * ok works:
 * .
 * > qtrans_language_chooser { list-style-type:none }
   >  .qtrans_language_chooser 
   > li { float:right; margin-right:3px } .qtrans_flag { border:1px solid #b6b6b6}

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

The topic ‘SELECTOR / SWITCHER’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/qtranslate.svg)
 * [qTranslate](https://wordpress.org/plugins/qtranslate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/qtranslate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/qtranslate/)
 * [Active Topics](https://wordpress.org/support/plugin/qtranslate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/qtranslate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/qtranslate/reviews/)

## Tags

 * [language](https://wordpress.org/support/topic-tag/language/)
 * [selector](https://wordpress.org/support/topic-tag/selector/)
 * [switch](https://wordpress.org/support/topic-tag/switch/)

 * 4 replies
 * 2 participants
 * Last reply from: [masmaz](https://wordpress.org/support/users/masmaz/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/selector-switcher-1/#post-5355483)
 * Status: resolved