• Hi
    For SEO purposes I need be able to insert <h1> h2,h3 tags etc.
    I don’t want to make the content any header, I want to make the title of the text widget box the H1 tag. How do I do that?
    Do I need to add a CSS Class? If so what would give me what I want.
    Thanks, Sarah.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Dear Sarah,

    Thank you for reaching out to us here.

    The page headers use H1 tag already. It is defined at this line:

    <?php the_title( '<h1 class="title-post">', '</h1>' ); ?>

    in the content-page.php template file.

    To avoid misunderstanding, could you please refer me to a URL of the page in question? Which “page headers” do you mean there?

    Regards,
    Kharis

    Thread Starter profilingpro

    (@profilingpro)

    Hi Kharis

    sorry, i amended the initial question as it was slightly wrong.

    What do you mean by the page headers? Do you mean the title of the page/ Because when I run the website through Moz, it cannot find any h1,h2,h3 tags.

    The website page is https://www.skemaz.net

    Kind regards
    SArah

    Thread Starter profilingpro

    (@profilingpro)

    The heading “Field Reporting and Mobile Data Collection to Transform Your Business” is the heading that I would like as H1

    Dear Sarah,

    Thank you for the very detailed explanation. It can be modified through WP dashboard > Settings > Page Builder > Widgets > replace the default value of “Widget Title HTML” with:

    <h1 class="widget-title">{{title}}</h1>

    In order to adjust the font size, apply the following CSS code through the Simple Custom CSS plugin or child theme’s style.css:

    .panel-grid-cell h1.widget-title{
      font-size: 32px;
    }

    Regards,
    Kharis

    Thread Starter profilingpro

    (@profilingpro)

    okay, thanks let me give that a go and see what happens.

    Kind regards
    Sarah

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Set tags in Header’ is closed to new replies.