WordPress.org

Support

Support » Themes and Templates » [Resolved] How to change the H1 tags ?

[Resolved] How to change the H1 tags ?

  • reseo
    Member

    @reseo

    Hello Hello,

    I like Kvarken very much. But how can I change the H1 tags ?

    For example.. if you go to one of my posts… the H-Tags are spread out all over the place….

    my site: Better Pagerank

    The tree looks like that:

    <H1>:
    <H1>: Pagerank verbessern
    <H2>:
    <H2>: Pagerank verbessern – das absolute Killer Tool !
    <H2>: About admin
    <H2>: Recent Posts
    <H2>: Recent Comments
    <H2>: Archives
    <H2>: Categories
    <H3>: Leave a Reply Cancel reply

    as you can see I have lot’s of <H-Tags>.

    – How and where can I change them ?

    I just don’t want to have as many.. especially for the About admin, recent comments, archives, categories, and Leave a reply..

    Thank you so much for any little help !

Viewing 7 replies - 1 through 7 (of 7 total)
  • esmi
    Forum Moderator

    @esmi

    Have you already created a child theme?

    reseo
    Member

    @reseo

    Yes.. I did.. but I still can’t figure out which code in which file I have to change ?

    esmi
    Forum Moderator

    @esmi

    What page do you want to change the tags on?

    kreativito
    Member

    @kreativito

    it should be in the stylesheets, right ?

    reseo
    Member

    @reseo

    So this is my site: Pagerank steigern

    Within WordPress it’s actually a post, not a page.
    However, I just don’t know how to change or control the H-Tags ?

    I was looking in the css files, but was not able to identify and find anything like that.

    Thank you so much for any little help,
    I really appreciate that !

    Theme Author Carolina Nymark
    Participant

    @poena

    Hi,
    the stylesheet can only change the styling of the tags, not where they are printed out. 🙂

    If you look at single.php, that controls the posts, you will see it
    includes the following:
    <h1 class="post-title"><?php the_title(); ?></h1>
    but also this function: kvarken_meta.
    the kvarken_meta is in the inc/customizer.php file.
    You will find that this in turn uses kvarken_author,that prints out the h2 tag around “About…”

    The h2 class for the titles in the sidebar are actually printed by WordPress core. They can be overwritten, see http://codex.wordpress.org/Function_Reference/register_sidebar

    reseo
    Member

    @reseo

    Thank you very much – that’s awesome. You made my day.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] How to change the H1 tags ?’ is closed to new replies.