WPML languages in header section - by BoxMediaOy

This topic has 10 replies, 3 voices, and was last updated 10 years ago ago by Robert Hall

  • Avatar: BoxMediaOy
    BoxMediaOy
    Participant
    November 2, 2014 at 12:40

    Hello,

    I am using IDStore theme to build an e-commerce website and purchased WPML plugin to support multiple languages.

    The website can be accessed here: http://www.ilubox.ee/wordpress

    I would like to have an option to move the language selected to the header menu (in red) at the very top of the page with flag + first 3 letters of the language, instead of keeping it as a part of the top menu. I have checked WPML options and your theme features, but couldn’t figure out how to do it. Would you guide me? Thanks.

    Huseyin

    9 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    November 2, 2014 at 14:52

    Hello,

    Please provide us with wp-admin panel credentials in Private Content.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: BoxMediaOy
    BoxMediaOy
    Participant
    November 2, 2014 at 16:50

    OK

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    November 3, 2014 at 09:30

    Hello,

    I’ve edited header.php file and now the language switcher is shown at the top.
    Please check.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: BoxMediaOy
    BoxMediaOy
    Participant
    November 13, 2014 at 14:25

    Hello,

    Thanks for doing this, but I would like to fix some stuff with the language bar:

    1) It is not aligned with the rest of the text in the header, such as Sign In or Register.
    2) We would like to format the language bar a little bit, with the following items:
    a) A red background
    b) Not using flags
    c) Using just EST, ENG and RUS for language shortcuts.

    Could you help us managing that? Thanks.

    Huseyin

    Avatar: Eva
    Eva Kemp
    Support staff
    November 13, 2014 at 20:58

    Hello,

    1. I’ve added the following code into custom.css file:
    #lang_sel a.lang_sel_sel {margin-top: -5px;}
    Please check the alignment.

    2. a) The background color has been changed with this code in custom.css file:

    #lang_sel a.lang_sel_sel, #lang_sel ul ul a {
        background: #BF1F2C;
    }

    b) I’ve disabled flags in WPML settings in wp-admin panel.
    c) To achieve this you need check WPML settings or contact their support concerning this request.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: BoxMediaOy
    BoxMediaOy
    Participant
    November 17, 2014 at 11:39

    Hello,

    Thanks for your help, but after your changes, The title for the front page Home appears and gives a very bad view.

    My guess is that you have changed something in the PHP files, but I’m not exactly sure which line of code, so can you fix this as soon possible?

    Thanks in advance.

    Huseyin

    Avatar: Eva
    Eva Kemp
    Support staff
    November 18, 2014 at 23:21

    Hello,

    I’ve added the following code to custom.css file to delete Home title from the homepage:

    .page-title {
        display: none !important;
    }

    Regards,
    Eva Kemp.

    Avatar: BoxMediaOy
    BoxMediaOy
    Participant
    November 19, 2014 at 12:28

    Sorry, but I have tried this way before and it doesn’t fix it! There is still a white line above the slider and it is different than it was before you have adjusted it.

    I am pretty sure it has something to do with the PHP files, but I don’t know where it lies. Please fix this as soon as possible, as my client is already pressurizing on it.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    November 19, 2014 at 17:52

    Hello,

    I’ve added following code into custom.css file. Check it.

    .grid_content {
    margin-top:0px !important;
    }

    Regards,
    Robert Hall.

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘WPML languages in header section’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.