• Resolved Hadeelayyad

    (@hadeelayyad)


    Hey there,
    how are you doing all?
    I wish you and your loved ones a Happy New Year with 2014
    i used the Qtranslate plugin with 2 different languages, the default language is English, and there are going to be other languages available through Qtranslate in Arabic
    in 1.png image the menu everything is working just fine, in 2.png the Qtranslate replace the name of menu titles without any problem but the Css style with the float still Left !
    i tried to customize a css style to change “float:right;” and it’s changed in all langs.
    so i need 2.png to be 3.png without customize the main calss style!

    Plz advice, and any help is appreciated. Thank you so much!
    1.png

    2.png

    3.png

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Hadeelayyad

    (@hadeelayyad)

    i solved the problem
    thank you all

    Thread Starter Hadeelayyad

    (@hadeelayyad)

    this code could be helpful

    if ( qtrans_getLanguage() == ‘/*lang type*/’ ) {

    //put your code in here
    /*like i used “theme_class(‘primary_menu’)”*/

    }
    elseif ( qtrans_getLanguage() == ‘/*lang type*/’ ) {?>
    <style type=”text/css”>
    .style{float:right## !important;} .style1 {margin-right:## !important;} #style3{margin-right:##;} etc.. }
    </style>
    <?php
    //put your code in here
    }

    ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Qtranslate with multi Css files’ is closed to new replies.