Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi A Silva, i had a look at your website and i think i see what you mean. You’d like the flags to be more alined with the menu when you view your website on a mobile phone?
    If so, i’m not sure i can help much, it maybe depends on if your theme is a dynamic theme. Or otherwise it’s just something to do with the CSS. Try playing around with different position types to see which one best suites what you want to achieve.
    https://www.w3schools.com/css/
    check out this website to learn some CSS tricks, thats how i did it.

    For the widget code, i juste found it on a similar forum, as well as the CSS. I just changed a few lines so that it looked like what i was looking for.
    ??

    Yes i finally managed to do it. It’s not that hard really.
    What i did was paste the code that generates the widget in the header php. file.
    Then use CSS to place it where i needed. Here is the custom CSS i used.
    I then uploaded new flags to the plugin directory.
    So step by step:

    Paste this code to your header php file:
    <?php qtrans_generateLanguageSelectCode(‘image’); ?>

    Then depending on the theme your using, paste the CSS in the custom CSS field:
    Play around with positioning to put it where you want.

    If you need to upload new flags, just use something like filezilla or similar to access the files on your server. go to the plugin directory then the directory for that particular plugin. There is a folder called “flags” upload your custom flags here. Don’t forget to rename them so they replace the flag you want to change.

    /*CSS for Flags */
    .qtrans_language_chooser li { display: inline;
    float: right;
    position: relative;
    top: 20px;
    right: auto;
    left: auto;
    margin-right: 10px; padding: 0; }
    .qtrans_flag { margin-left: 10px; margin-top: 0px }
    /*———————————–*/
    .qtrans_flag{
    width: 45px !important;
    height: 30px !important;
    background-size: 45px 30px !important;}

    How can i put the widget to the right of the screen and make the flags bigger using CSS?
    p.s: i only have basic knowledge of coding

    Hi Guys,
    I’ve installed Mqtranslate and i’m trying to get the widget in my header just above or below my social media icons.
    I have extremely limited knowledge of coding and rely on advice from thread like this to achieve what i’m looking for.
    I currently have the widget in my sidebar, the flags are quite small compared to what i want them to look like.
    So, i tried pasting the following code in my header.php file :
    ‘<?php qtrans_generateLanguageSelectCode(); ?>

    what i got was text to the left of the screen. I can’t seem to understand how to make the text an image as explained above.
    I would like the two flags (english and frecnh) to appear above or below the social media icons that are to the right of my header.
    I tried some CSS but didn’t manage to do it.
    Some help anyone?

    here is my blog: https://www.easywayabroad.com

    Thanks ??

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