Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1117097
    jipsa78
    Participant

    Hi there,

    I’ve added the WPML language selector to the topbar by creating a _topbar.php file in the child theme and adding this code

    <?php if ( x_get_option( 'x_topbar_display' ) == '1' ) : ?>
    
      <div class="x-topbar">
        <div class="x-topbar-inner x-container max width">
          <?php if ( x_get_option( 'x_topbar_content' ) != '' ) : ?>
          <p class="p-info"><?php echo x_get_option( 'x_topbar_content' ); ?></p>
          <?php endif; ?>
          <?php x_social_global(); ?>
    	  <?php do_action('icl_language_selector'); ?>
        </div>
      </div>
    
    <?php endif; ?>

    The language selector is showing up fine, but now my social icons are not clickable anymore and don’t show the hand on mouseover. If I remove the file from the child theme, the social icons are working as normal again.
    Could you check on my site please: http://www.phatadke.cre8lao.com/home-4/

    #1117318
    Christian
    Moderator

    Hey there,

    Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.

    Thank you for your understanding.

    #1118675
    jipsa78
    Participant

    Hi there,

    Thanks for your reply.

    I’m not asking for custom development here.
    You guys have already proposed this solution in multiple other threads, but now it seems to have stopped working properly.
    Seems like an answer to my question would benefit a lot of your users.
    WPML is the most popular translation plugin and recommended with your theme.

    By the way, this is a new install, with only included and recommended plugins installed, and some CSS edits in the Customizer.

    Thanks for your help, Jipsa

    #1118965
    Darshana
    Moderator

    Hi there,

    You can add this under Custom > CSS in the Customizer.

    
    #lang_sel_list {
        float: right;
        width: 100px;
    }
    

    Hope that helps.

    #1120757
    jipsa78
    Participant

    Thanks, adding the width did the trick.

    #1120883
    Thai
    Moderator

    You’re most welcome 🙂

    If you need anything else please let us know.

  • <script> jQuery(function($){ $("#no-reply-1117097 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>