Hey Diego,
Can you please share the code of “header.php” along with the additional line you have added?
Hi, thanks for your reply.
Here is the code.
Really don’t understand why it works on desktop but not on mobile…
`<!DOCTYPE html>
<html class=”no-js” <?php language_attributes(); ?>>
<head>
<!– Global site tag (gtag.js) – Google Analytics –>
<script async src=”https://www.googletagmanager.com/gtag/js?id=UA-********-1″></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());
gtag(‘config’, ‘UA-*******-1’);
</script>
<meta charset=”<?php bloginfo(‘charset’); ?>”>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<link rel=”profile” href=”http://gmpg.org/xfn/11″ />
<?php if (is_singular() && pings_open(get_queried_object())) : ?>
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<?php endif; ?>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id=”mh-wrapper”>
<header class=”mh-header”>
<div class=”header-wrap mh-clearfix”>
<?php mh_newsdesk_lite_logo(); ?>
</div>
<div class=”header-menu mh-clearfix”>
<nav class=”main-nav mh-clearfix”>
<?php wp_nav_menu(array(‘theme_location’ => ‘main_nav’)); ?>
</nav>
</div>
<div>
<h5>text I would like to add</h5>
</div>
</header>
-
This reply was modified 4 years, 12 months ago by
dceditore.
-
This reply was modified 4 years, 12 months ago by
dceditore.
Is this code already added / changed on your site? I don’t see it on mobile either.
Thanks for letting me know.
Hi, no I removed as soon as I check it didn’t work on mobile.
Do you think syntax is correct?
I just added a:
<div>
<h5>text I would like to add</h5>
</div>
Thank you
I would like to see it on your website. Let me know if you added it again and what me to take a look.
Hi there, good morning.
Now code is on-line, but nothing appears on desktop or mobile : /
= = = = =
<header class="mh-header">
<div class="header-wrap mh-clearfix">
<?php mh_newsdesk_lite_logo(); ?>
</div>
<div class="header-menu mh-clearfix">
<nav class="main-nav mh-clearfix">
<?php wp_nav_menu(array('theme_location' => 'main_nav')); ?>
</nav>
</div>
<a href="https://www.diritto.net/quesiti-legali/"><mark> Hai un dubbio legale? Fai la tua domanda e ricevi risposta entro 24 ore! Veloce, facile, anonimo! € 19,90</mark></a>
</header>
= = = = =
I expect to see my text-adv in a row, below the main-menu [PRIMA PAGINA | AREE TEMATICHE | INIZIATIVE E PETIZIONI…].
Thank you for any suggestion,
Diego
-
This reply was modified 4 years, 12 months ago by
dceditore.
Cannot find it in view-source:http://www.diritto.net/
WTFantastic, how?!
Typing http://www.diritto.net doesn’t appear.
Typing https://www.diritto.net it appears (only on Desktop)!
-
This reply was modified 4 years, 12 months ago by
dceditore.
Removed changes already. Tks
Hi,
Somehow I didn’t get any notification about your replies her till now, sorry about that.
If it shows up on https but not on http I think that is a caching issue, either your own local cache or a server cache.
Hope that helps. If you have any questions, please let me know!