How to place qTranslate in the header

Viewing 15 posts - 1 through 15 (of 17 total)
  • #3776
    lRlevolution
    Participant

    Im basically trying to place the drop down menu on the right side of the header so its always being displayed. right now i have it as a widget in the foot section but doesnt look the way i like it. any ideas?

    http://www.raicesrootsridas.org/

    #3804
    Daniel Tara
    Keymaster

    In the next version I’ll also add an option to display the menu in the header.

    #4362
    jgavilan84
    Participant

    lRlevolution, I love the way you have located the languages in the header. Please tell me how did you get it…

    I’ve made a temporal solution on http://www.vintam.com but I hate google translations.

    Thanks in adavance

    #4365
    guenes
    Participant

    i dit it in this way:
    Modify header.php :
    well I can not add codes here:

    add this line after the id=”header2 role=baner” line:
    ‘ ‘

    http://www.landinbetween.com

    • This reply was modified 12 years ago by guenes.
    #4366
    jgavilan84
    Participant

    I am really interested on your help guenes but it seems that it doesn’t appear correctly all the code.

    Thanks anyway

    #4368
    guenes
    Participant

    sorry here is the code:

    http://pastebin.com/raw.php?i=dDpa0Peb

    #4369
    jgavilan84
    Participant

    Thanks again but something was wrong. You can check it at http://www.vintam.com

    It looks horrible right now. I copied literally the code as you can see bellow:

    http://pastebin.com/8PpB5Xay

    I placed at the beggining

    Thanks in advance

    #4370
    guenes
    Participant

    Forgot to add:

    you need to add new ccs rule:

    here is my: add this to the style.css

    http://pastebin.com/RLNsa8bB

    #4372
    jgavilan84
    Participant

    You don’t know how much I appreciate your help.

    Now better but one problem persist.

    Now I don’t know why the text vintam appears twice

    PS: What have I do to quit the border and to set up in the same line than twitter icon and facebook icon. This is my code to style.css:

    http://pastebin.com/eFmDB2jt

    I ask that because I can not see the reference with the top in your code

    #4377
    jgavilan84
    Participant

    I’d remove the code because I completely dislike that the title to the website appears twice. I’ve been playing with the code, I could fix the way it is showed but I don’t get to fix the other problem with the title.

    The problem should be in the code bellow:

    http://pastebin.com/raw.php?i=dDpa0Peb

    Somethink here make the mistake.

    I hope to find it because I really like how it works instead of google translations so I will be working on it, althought I await some help with the issue because I don’t have too much knowledge with html code…

    #4389
    guenes
    Participant

    Sorry but i am also not an expert, so i cannot help on all your problems.

    1. you only need add one line on your header.php:
    I get this line on the readme file from the qtrans plugin.

    2. you can get rid of the border by editing the css rules.
    you can delete this rule: border:1px solid #b6b6b6

    <?php
    3. to position social links and language flags on the same row, they must be located in the same div id in your header.php
    Good luck

    #4395
    jgavilan84
    Participant

    Now much better (www.vintam.com). Thank you so much.

    Just for ending. Is there any way to show just the flag?

    Thanks in advance

    #4403
    guenes
    Participant

    yes change the “both” to “image”

    qtrans_generateLanguageSelectCode(‘image’)

    #4407
    jgavilan84
    Participant

    Wow, perfect. I like much more each time you help me, hahahaha.

    Finally you’re better than you said…

    Could I get bigger flag? I change the flag for one I previously had but It isn’t showed correctly.

    Taking this reply… When I use english tranlsations everything appears translated less a little menu which show the categories. Is it possible to translate that menu as well?

    Thank so much again

    #4409
    guenes
    Participant

    – for different images as flags see the qtranslate support forum:

    http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=168&p=6486&hilit=change+flags#p6486

    what do you mean with “that menu”, in qtranslate you can give for every page also different title. Just give for every page you linked in the main manu a difrrent name.

Viewing 15 posts - 1 through 15 (of 17 total)

Tagged: 

You must be logged in to reply to this topic.