[Support request] how can i set my site title (site branding) to an H1

Home Forums Support [Support request] how can i set my site title (site branding) to an H1

Home Forums Support how can i set my site title (site branding) to an H1

  • This topic has 19 replies, 3 voices, and was last updated 7 years ago by Tom.
Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #304436
    omer

    hello ,
    i was looking at my site title name called (בניית אתרים) on the top right
    <p class=”main-title” itemprop=”headline”>

    בניית אתרים

    </p>

    how can i CONVERT it to an H1 ?

    THANKS

    #304496
    Leo
    Staff
    Customer Support

    Hi Omer,

    Don’t think we can actually convert it to h1 but we can give the main-title class the same style as h1 like this:

    .main-title {
        font-size: 25px;
        color: #000;
        font-weight: bold;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know the style you want and I can give you the full code.

    #304533
    Tom
    Lead Developer
    Lead Developer

    Not a good idea to make it an H1, because that will give you two H1s per page, which hurts SEO.

    #304552
    omer

    i dont need to make the font bigger leo , i need it to be orgenazied and <p> for the main title it is a big issue .
    my main title is paragraph ?there must be a code that i can put in the function.php ot the content.php or the page.php that will solve me this problem .

    tom i mean that ahen i am on my home page my site title should be H1 but if i go to any other page the site title could be a <p> tag and the new page title or new post title should be an H1 .

    if i switch to twenty17 theme it works fine like it should be .
    there must be some code for that .

    #304554
    Tom
    Lead Developer
    Lead Developer

    That’s how it works in GP, if you’re on your posts page it will be an H1, and it will turn to a paragraph tag on static pages.

    Make sure you’re not using any custom functions/your site title in GP Hooks as it won’t use the core GP functionality.

    Also make sure you’re using the latest version of the theme.

    #304577
    omer

    i am not sure i understand you tom .
    my site title is always on <p> tag not matter what i do or where i go posts or pages also i didnt do any custom functions .
    is there any way i can change it ?

    regards omer

    #304579
    Tom
    Lead Developer
    Lead Developer

    Can you link me to your site?

    #304684
    omer
    #304745
    Tom
    Lead Developer
    Lead Developer

    No custom functions at all? Or anything in GP Hooks? That’s not the standard behavior anymore, the H1 on the blog page was introduced in 1.3.41 on November 30, 2016.

    Might be worth doing a fresh install just to test on your end.

    #304890
    omer

    hi tom
    here is a fresh instalation AND every thing is correct like you said.http://xn--4dbbfhtdabtsd1a1i0ab.co.il/

    in my problem site i delete and install again the theme with updated and it still the same .

    any ideas ?

    note :beside css code that you gave me i didnt do anything .

    #304894
    omer

    i installed on another domain and the same issue
    look here

    #304899
    omer

    Ignore the last post that suddenly works weird to me anyway just one site makes me trouble
    this site בניית אתרים

    #305028
    omer

    please tom help me with that i dont know what to do and i dont like to find another theme .
    i love your theme and your support .

    i will give you my c-panel creditials and see for your self .
    please tom

    #305061
    Tom
    Lead Developer
    Lead Developer

    You can send me temporary admin login details to the problem site if you like: https://generatepress.com/contact/

    #305080
    omer

    i sent you .
    thanks tom i hope you will make it !

    regards omer

Viewing 15 posts - 1 through 15 (of 20 total)
  • You must be logged in to reply to this topic.