Home / Forums / DynamiX Support / ¿Add image (language icons) in the drop header menu?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts

  • spaidisseny
    Participant

    Hi Andy, 

    Thanks for your reply the other day. 

    One more question for you.. (I am sure you are so busy all the time)

    If I want to add a little language image or icon to the drop down menu option between the header and the main content….. (next to the search option)

    I have been looking to the CSS…..  can you pls advice exact css page to modify… line, and if it requires to change any .php template page… 

    many thanks for your fast replies… 

    have a fantastic day!

    thanks

    ricky from spaidisseny

    Andy
    Andy
    Keymaster

    Hi Ricky,

    I'm currently on holiday but if you send me a message next week I can go through my emails and post it here for you. 


    spaidisseny
    Participant

    if you are back from holiday? do you think you could help me .. thanks in advance 

    i have to move foward… 

    like everybody.. welcome back

    Andy
    Andy
    Keymaster

    Hi,

    Try the following – it's old notes so bare with me if it doesn't work the first time. 

    Edit DynamiX/header.php

    Search the line  </div><!– /tabs –>

    Directly below that line, add the following line of code. 


    <div id="header-language"><?php if (function_exists('qtrans_generateLanguageSelectCode')) { echo qtrans_generateLanguageSelectCode('image'); } ?></div>

    Then edit DynamiX/style.css

    Add the following to the bottom of the file


    #header-language {

    position:absolute;

    right:0;

    top:52px;

    }


    #header-language ul li {

    list-style:none;

    float:left;

    margin-left:0px;

    }

    #header-language ul li a {

    height:30px;

    width:25px;

    }
    Andy
    Andy
    Keymaster

    That first section of code is for qtranslate – is that what you're using?

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.