New Landing How can we help? Atelier WPML flag icons and My Account icon

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Atelier
  • #254153
    tazacorbin
    Member
    Post count: 29

    Hi there,
    1. How can I change ‘My account’ icon to my own icon? And how can I move it closer to the cart icon?

    2. I would like to change the drop-down language menu to a list menu, without flags, only ES EN written.

    Thank you very much!

    #254166
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    1- Which Icons do you want instead of it?

    2- Please follow this topic http://www.swiftideas.com/forums/topic/language-flags-side-by-side/. Hope it should help to you.

    Thanks
    Mohammad

    #254605
    tazacorbin
    Member
    Post count: 29

    Sorry, maybe I didn’t explained me. I don’t want to see the flags as in the topic you refered me. I would like to see the header as in the image below.
    And I would like to have all elements aligned regarding the red line.

    I also attached the account icon I want. I would like to have it closer to the cart icon as in the image.

    Thank you very much!

    Attachments:
    You must be logged in to view attached files.
    #254683
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste this code at functions.php of child theme.

    function sf_language_flags($items,$args) {
        
        if (function_exists('icl_get_languages') && $args->theme_location != '') {
            $languages = icl_get_languages('skip_missing=0');
                
            if(1 < count($languages)){
               
                foreach($languages as $l){
                        $items = $items.'<li class="menu-item menu-lang-icon lang-'.$l['language_code'].'"><a href="'.$l['url'].'" class="dropdown-toggle" data-toggle="dropdown">'.$l['language_code'].'"</a></li>';
                }
            }
        }
            
        return $items;
    }

    Thanks
    Mohammad

    #255135
    tazacorbin
    Member
    Post count: 29

    Hi,

    1. I have done it but it doesn’t work… And I would like to see “ES | EN” instead of “IDIOMA” as I show you in the last image. (“ES” for spanish language and “EN” for english.)

    2. The problem with the account icon is not resolved…

    Thank you so much!!

    Attachments:
    You must be logged in to view attached files.
    #255159
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I am not able to access the wordpress admin dashboard. Getting 502 Bad Gateway error.
    Thanks
    Mohammad

    #255163
    tazacorbin
    Member
    Post count: 29
    This reply has been marked as private.
    #255205
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I am not able to access wordpress login page http://johnnyti-cp188.wordpresstemporal.com/wordpress/wp-login.php.
    Thanks
    Mohammad

    #256658
    tazacorbin
    Member
    Post count: 29

    Could you please try again? Thank you very much!!

    #257033
    David Martin – Support
    Moderator
    Post count: 20834

    Does not work, error message is: 502 Bad Gateway.

    Thanks.

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register