Changes of the h1 of the posts - by Immograf

This topic has 9 replies, 4 voices, and was last updated 8 years, 1 months ago ago by Robert Hall

  • Avatar: Immograf
    Immograf
    Participant
    September 29, 2016 at 17:21

    Hello,

    We need to do some changes in the blog. When you’re inside of a post the title of this post is named with an h2, and there is also an h1 but it doesn’t appears. So we need to deleted this h1 because we want to put the title of the post as an h1. How can we delete the h1?

    Thanks for your help!

    8 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    September 29, 2016 at 17:50

    Hello,

    If you want to have font size of h1 for post title you can use this css code:

    .single-post article.blog-post h2 {
       font-size: 24px;
    }

    Regards,
    Eva Kemp.

    Avatar: Immograf
    Immograf
    Participant
    October 4, 2016 at 15:46

    No, this is not what I needed. When you are in a post the h1 is in the breadcrumbs, and if we don’t use breadcrumbs don’t show the h1.

    So, I want to change the class and asign the h1 to the title of the post (now the title is h2). I think that we can do it but we don’t know how delete the original h1.

    Can you help us!

    Thanks

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 4, 2016 at 17:09

    Hello,

    Edit the file wp-content/themes/royal/single.php in line 87 and change h2 tag to h1.

    Best regards,
    Jack Richardson.

    Avatar: Immograf
    Immograf
    Participant
    October 5, 2016 at 11:01

    No, we still having the same problem. We need to delete the h1 of breadcrumbs. We have change the h2 of the title and now is an h1, but now we have two h1 and I just want one. So I need to delete the h1 from breadcrumbs.

    Avatar: Eva
    Eva Kemp
    Support staff
    October 5, 2016 at 12:38

    Hello,

    I don’t see h1 tag in the breadcrumbs http://storage5.static.itmages.com/i/16/1005/h_1475667501_6322149_7862efd842.jpeg . Please show on a screenshot what you want to remove.

    Regards,
    Eva Kemp.

    Avatar: Immograf
    Immograf
    Participant
    October 5, 2016 at 12:54

    You were looking to another website of another costumer, but in spite of this the situation is the same one. You can’t see it because we put a display none in the class because we didn’t wanted to have it visible. But it stills appearing for SEO. I give you a screenshot of your template> http://dodionline.com.mialias.net/content/wp-content/uploads/h1.png
    As you can see there is an h1 in the breadcrumbs. We put a display none but if you take a look about the SEO the h1 still appearing and now we have two, this one and the other that we changed in the title of the post. template> http://dodionline.com.mialias.net/content/wp-content/uploads/h1-post.p

    I give you all the acces information in the private content.

    Please, contact administrator
    for this information.
    Avatar: Immograf
    Immograf
    Participant
    October 5, 2016 at 12:56

    I think that the solution is to change in the document the h1 to a p, but we don’t know the document we have to change.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    October 5, 2016 at 14:29

    Hello,

    You can change it in the \wp-content\themes\royal\framework\theme-functions.php file on line 785

    Regards,
    Robert Hall

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.