Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #24390

    Hello,
    I saw that the title page is written in <h2> and not <h1>.

    If I want to change the font, size, color of the title pages, I have to change this value in style.css

    h2 {
    	font-size: 26px;
            text-align: center;
            font-family: 'Monotype Corsiva';
            color:#FF4D00;
    }

    Why the title depends on the h2? my problem?

    When I create a new page I think the title is with h1 tag because, for example, if I do not insert the h2 tags, wordpress seo plugin Yoast tells me that h2 is missing (rightly).

    So the problem is only in viewing the site? My site is www. Salento casa vacanza . net

    The title page is “affitto casa vacanze nel Salento”
    Thanks

    #24401
    Sakin
    Keymaster

    @telexesposito: You are using Free Simple Catch Theme which is build in HTML4 and CSS2. So, in the theme build in HTML4, we are only allowed to use 1 H1 tag and that we have use it for Site Title. So, the post/page title is h2.
    You can add it like the following css.

    #main h2 a {
    	font-size: 26px;
            text-align: center;
            font-family: 'Monotype Corsiva';
            color:#FF4D00;
    }
    #24409

    Hello sakin, thanks for the reply very kind.
    Yes, the title of the site is in h1 tags.

    What is the difference between my code is yours?
    What will change with #main h2 a?

    Thank you 🙂

    #24460
    Sakin
    Keymaster

    @telexesposito: You code is targeted to all h2 tags. But mine is focus to link text with h2 tag inside main wrapper.

    #24479

    ok thank you! 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘page title with h2 tags..’ is closed to new replies.