• Hi,

    cant get my qTranslator language selection box to show on “Homepage”.
    Site

    when you press the rest of the menu, the box will show where it’s supposed to.(beiside logo)

    Using custom CSS
    In functions.php:

    add_action('__logo_title', 'qtr_language_changer');
    function qtr_language_changer() {
    	echo qtrans_generateLanguageSelectCode('image');
    	}

    In style.css:

    ul.qtrans_language_chooser {
    position: fixed;
    list-style-type:none;
    margin: -350px 0 0 3px;
    background-color: rgba(51, 102, 153,.35);
    box-shadow: 2px 5px 7px rgba(0,0,0,.21);
    border-radius: 10px;
    border: 1px rgba(255,0,0,.5) solid;
    padding: 1px 5px 5px 15px;
    left: -15px;
    -webkit-transition: background-color 200ms linear;
    -moz-transition: background-color 200ms linear;
    -o-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
    z-index: 201;
    }
    ul.qtrans_language_chooser:hover {background-color: rgba(153,204,255,.65); box-shadow: 3px 8px 10px rgba(0,0,0,.15);}
    ul.qtrans_language_chooser li.active {display: none;}
    ul.qtrans_language_chooser li a {width: 22px; height: 22px;}

    any ideas why that is??
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author presscustomizr

    (@nikeo)

    Hi, the __logo_title hook doesn’t exists in Customizr. (may be you have created it ?)
    You might want to use __after_logo or __before_logo instead.

    Hope this helps

    Thread Starter lauxly

    (@lauxly)

    Hey Nik, thank for the help, this did work and i had missed it before.
    Sadly now the styling doesn’t work, do i have change anything from there as well, cause…

    ul.qtrans_language_chooser {
    position: fixed;
    list-style-type:none;
    margin: -350px 0 0 3px;
    background-color: rgba(51, 102, 153,.35);
    box-shadow: 2px 5px 7px rgba(0,0,0,.21);
    border-radius: 10px;
    border: 1px rgba(255,0,0,.5) solid;
    padding: 1px 5px 5px 15px;
    left: -15px;
    -webkit-transition: background-color 200ms linear;
    -moz-transition: background-color 200ms linear;
    -o-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
    z-index: 201;
    }
    ul.qtrans_language_chooser:hover {background-color: rgba(153,204,255,.65); box-shadow: 3px 8px 10px rgba(0,0,0,.15);}
    ul.qtrans_language_chooser li.active {display: none;}
    ul.qtrans_language_chooser li a {width: 22px; height: 22px;}

    doesn’t make any difference.

    Theme Author presscustomizr

    (@nikeo)

    I am currently working on a smooth integration of the theme with Customizr. I will test this as well and come back to you.
    Stay connected!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘qTranslator "language selection" not showing on "Homepage"’ is closed to new replies.