Please, how to make my logo wordpress website h1, my site is http://www.xn–hxanfhlafbfwvgsh0akf7l.com and my wordpress theme is Iconic One — Free WordPress Themes, thanks
note i have the free version:theme
Can I ask why you want this to be a H1?
I am not familiar with that theme, but you should be able to do this by amending your header.php file.
h1 in homepage is necessary for seo and for the visitors, but i am not guru to explain,
in header.php? if know anyone please i want tell me how to make, thanks
Have you tried looking at header.php?
The logo is wrapped in this div element <div class="themonic-logo">
.
Changing the div to h1 should do the trick if you find where the header is set up.
<h1 class="themonic-logo">
The logo image has alt text already which it needs.
i ndo’t know how sir
Do you know where to find header.php and look at its code?
i try but not working sir
no, if you know tell me please
You should be able to find it in wp-content > themes > [your theme]
In your dashboard, go to Appearance > editor. You will be given a list of the theme files on the right hand side. Select header.php and the code will show up in the edit box.
But be very careful when you make any changes, that you don’t break anything. And it really isn’t advisable to change any of the code because when your theme is updated, any changes you make will be overwritten.
thank you sir i find the walktrough, but you can tell me what can i do, because i don;t know
Did you find the code for header.php
?
yes i find
what can i do?
Look for this code:
<header id="masthead" class="site-header" role="banner">
<div class="themonic-logo">
<a href="http://www.xn--hxanfhlafbfwvgsh0akf7l.com/" title="Ηλεκτρονικό τσιγάρο νέα, κριτικές, συμβουλές στο άτμισμα" rel="home">
<img src="http://www.xn--hxanfhlafbfwvgsh0akf7l.com/wp-content/uploads/2016/12/Ηλεκτρονικό-τσιγάρο-νέα-κριτικές-συμβουλές-στο-άτμισμα-.png" alt="Ηλεκτρονικό τσιγάρο νέα, κριτικές, συμβουλές στο άτμισμα">
</a>
</div>
and change <div class="themonic-logo">
to <h1 class="themonic-logo">
and </div>
to </h1>
just like @SamA74 suggested.
when the put the code my site is broken, not working my friend
You can replace the code that you sent across with the following:
<header id="masthead" class="site-header" role="banner">
<h1 class="themonic-logo">
<a href="http://www.xn--hxanfhlafbfwvgsh0akf7l.com/" title="Ηλεκτρονικό τσιγάρο νέα, κριτικές, συμβουλές στο άτμισμα" rel="home">
<img src="http://www.xn--hxanfhlafbfwvgsh0akf7l.com/wp-content/uploads/2016/12/Ηλεκτρονικό-τσιγάρο-νέα-κριτικές-συμβουλές-στο-άτμισμα-.png" alt="Ηλεκτρονικό τσιγάρο νέα, κριτικές, συμβουλές στο άτμισμα">
</a>
</h1>
This should sort it…