Forum Moderators: Robert Charlton & goodroi
On my index.php file I did put a line of code to make sure my logo is replaced by text so that google can read it.
My question : all my site and the database has css for <h1> this line of code is not part of the css it is just a line of code I created on the index.php. I choose font futura , font size 17 and then added the <h1> around my text.
I am wondering if google still considers it as <h1> or not ? because the real h1 on the css doesn't have futura is not a 12 font and doesn't really look like what I have now with the line of code I wrote.
The main reason why I didn't use the real h1 is because it would look ugly on my site ! but if I need to make changes for google to really consider it as <h1> I will
Thank you,
Image Replacement Techniques - What Is Google's Stance?
[webmasterworld.com...]
The H1 element should be specific to the page, and not the same across the site. At best, this will be ignored. But I've also seen cases where the keywords in that H1 vanished from search results after the technique was employed.
See [webmasterworld.com...] for a more in-depth discussion
The main reason why I didn't use the real h1 is because it would look ugly on my site
CSS is supposed to be used to style the appearance of the H! and other elements. There's nothing wrong or "un-real" about that. You can simply give the H1 element (or any other element) a set of rules in your external css file.
h1 {font-family:futura,arial,helvetica,sans-serif;font-size:17px;color:#009;"}
>You can simply give the H1 element (or any other element) a set of rules in your external css file.
Sounds good, except please read "you can" as "you can and you _definitely_ should".
Also, you can have different sets of rules for H1 elements even in your database:
h1 {font-family:futura;font-size:14px; color:chartreuse; ... }
h1.logo {font-family:ariel; font-size:20px; color:gray; ...}
then
<h1 class="logo">MyLogo</h1>
uses the second style list, and
<h1>Main Paragraph</h1>
uses the first one.