Add elements to menu of child theme

Hi,

A custom link icon which I added to the menu of my child theme has stopped working as expected after upgrade.
The icons have changed from facebook and google-plus to a looking glass icons.
What should I modify in my code to fix the icons as they worked in the previous version?

Regards,
Roman

My child theme has this file: framework/views/global/_nav-primary.php which contains the following code:

<?php

// =============================================================================
// VIEWS/GLOBAL/_NAV-PRIMARY.PHP
// -----------------------------------------------------------------------------
// Outputs the primary nav.
// =============================================================================

?>

<a href="#" class="x-btn-navbar collapsed" data-toggle="collapse" data-target=".x-nav-wrap.mobile">
  <i class="x-icon-bars" data-x-icon="&#xf0c9;"></i>
  <span class="visually-hidden"><?php _e( 'Navigation', '__x__' ); ?></span>
</a>

<!-- Custom Social and Button Code - Started -->
<nav class="x-nav-wrap desktop" role="navigation">
  <ul id="menu-x-primary-menu" class="x-nav">
    <li class="menu-item x-menu-item"><a href="#" style="color: #3b5998;"><i class="x-icon-facebook" data-x-icon=""></i></a></li>
    <li class="menu-item x-menu-item"><a href="#" style="color: #dd4b39;"><i class="x-icon-google-plus" data-x-icon=""></i></a></li>
  </ul>
</nav>
<!-- Custom Social and Button Code - Ended -->

<nav class="x-nav-wrap desktop" role="navigation">
  <?php x_output_primary_navigation(); ?>
</nav>

<div class="x-nav-wrap mobile collapse">
  <?php x_output_primary_navigation(); ?>
</div>

Hi There,

Please make sure your theme & plugin are in the latest version:

https://theme.co/changelog/

Would you mind providing us with your website URL so we can take a closer look?

Thanks.

Hi,

I found some updates to the CSS in the new X version caused the problem.
Issue is now solved.

Thanks,
Roman

Glad it’s now sorted out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.