• Resolved janbillund

    (@janbillund)


    Hi again
    I’m a bit surprised that the title text in hero section is not a H1 tag by default. My front page consists therefor of zero H1-tags. This is a problem when it comes to SEO.
    I’m sure it can be solved with custom CSS. But I dont know that language.
    Can anyone help?
    Thanks!
    /Jan

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author FameThemes

    (@famethemes)

    Hi @janbillund,

    The CSS couldn’t change any HTML tag. It is impossible. If you are using the free version, just open this file in your theme:
    https://github.com/FameThemes/onepress/blob/master/section-parts/section-hero.php

    if you use the PLUS version, replace in wp-content/plugins/onepress-plus/section-parts

    then replace the H2 tag with H1 tag as you want.

    Hope it helps!

    • This reply was modified 7 years, 2 months ago by FameThemes.
    Thread Starter janbillund

    (@janbillund)

    Hi!
    Thanks for quick response. Much appreciated ??
    I’m using the PLUS version.
    I’ve changed the H2 tag to H1 tag with the result, that the title text in hero section gets smaller – considerably. Thats odd!!! I want the same size as now.
    /Jan

    Theme Author FameThemes

    (@famethemes)

    Hi @janbillund,

    After changing to H1 tag, you need to add this in Customize => Additional CSS:

    @media screen and (min-width: 940px) {
    .hero__content .hero-large-text { font-size: 75px; }
    }

    Let me know if it works!

    Thread Starter janbillund

    (@janbillund)

    Hi!
    It works. Thanks a lot!

    Thread Starter janbillund

    (@janbillund)

    Hi again
    If I want the hero-large-text in bold, what do I then add to the additional CSS above?
    /Jan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘H1 on front page’ is closed to new replies.