: Changing headers for small screens - SEO implications I'm changing some of my pages to better display in different devices (tables, smart phones etc). I want to figure out a good way of handling
I'm changing some of my pages to better display in different devices (tables, smart phones etc). I want to figure out a good way of handling headings. So far my options are
hide headings for small screens
show shorter heading for small screens
keep it the same.
If I show a shorter heading for small screens then it will probably take the form of putting in two h1 elements in the same and then toggling responsively depending on the screen size.
What are the implications of 1 and 2 for SEO? Will I be penalised?
More posts by @Gonzalez347
1 Comments
Sorted by latest first Latest Oldest Best
I'm assuming you only have one domain with no option for sub-domains. So here's what I suggest:
I'd go with number 3 and not make elaborate headings. Also, you should configure the view port using the meta tag to make the mobile screen adjust to the site. If the heading is too large, then the text will wrap, but no side-scrolling will happen which is acceptable for responsive design. Here's the tag I'm talking about:
<meta name="viewport" content="width=device-width, initial-scale=1">
If that isn't acceptable, then you could consider changing the font size based on screen size (via media queries in css), or you could use a ridiculously short version of your title in the H1 tag and an extended version in an H2 tag. For example, do this:
<h1>Beach</h1><h2>The perfect family getaway</h2>
instead of this:
<h1>Beach, the perfect family getaway</h1>
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.