• Resolved TimoElshof

    (@timoelshof)


    Hello,

    I want to add the qTranslate flags to the header of my Twenty Eleven theme website: http://www.timoelshof.nl

    I know I have to add this code to the header.php file: <div class=”chooselang”> <?php echo qtrans_generateLanguageSelectCode(‘both’); ?>. The languages appear but I don’t know how to move them to the right corner of my site, probably by adding some code to my CSS (in a child theme of course). Can somebody help me?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Once you’ve added the code to your header, if you look at the html source code, you should be able to see the html generated by the function. There should be a class or an id that allows you to add style to it.

    Try floating it to the right and adding a width and height to it.

    Thread Starter TimoElshof

    (@timoelshof)

    Thank you for your swift reply. Unfortunately, I don’t know how to access the html generated by the function? Can you help me with that as well?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘qtranslate flags in header Twenty Eleven’ is closed to new replies.