Tagged: x
-
AuthorPosts
-
June 27, 2016 at 3:35 pm #1062132
toddbialaParticipantIs it possible to change hamburger icon to menu text? I would imagine have to here but what do i change?
<?php
// =============================================================================
// VIEWS/GLOBAL/_NAV-PRIMARY.PHP
// —————————————————————————–
// Outputs the primary nav.
// =============================================================================?>
<?php $post_id = get_the_ID();
if(get_field(‘telephone_number’, $post_id) != ”){
$phone = get_field(‘telephone_number’, $post_id);
}elseif(get_field(‘telephone_number’, $post->post_parent) != ”){
$phone = get_field(‘telephone_number’, $post->post_parent);
}else{
$phone = ‘(855) 437-9728’;
}
$arr = array(“(” => “”,”)” => “”,” “=>””,”-” => “”);
$mobilePhone = strtr($phone,$arr);
?>
<i class=”x-icon-bars” data-x-icon=””></i>
<span class=”visually-hidden”><?php _e( ‘Navigation’, ‘__x__’ ); ?></span>
<nav class=”x-nav-wrap desktop” itemscope=”itemscope” itemtype=”http://www.schema.org/SiteNavigationElement” role=”navigation”>
<?php x_output_primary_navigation(); ?>
<div class=”headphone1″>Call or Text | We Buy All Cars</div>
<div class=”headphone”>
<?php echo $phone; ?>
</div>
</nav><div class=”extra-mobile-btn”>
Call (855) 437-9728
</div><div class=”x-nav-wrap mobile collapse”>
<?php x_output_primary_navigation(); ?>
</div>June 27, 2016 at 7:35 pm #1062392
John EzraMemberHi there,
Thanks for writing in! You can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.
i.x-icon-bars:before { content: "MENU" }Hope this helps – thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1062132 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
