Support » Theme: BizStudio Lite » h1 tag not vailable in custom frontpage BizStudio Lite

  • Resolved ankur-bordoloi

    (@ankur-bordoloi)


    I use BizStudio LLite v 1.0.12 and activate custom layout for front page.
    How to insert h1 tag in custom layout front page? please help

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

    You can add h1 tag in front page custom layout from front-page.php file in your theme folder. Open front-page.php file and add h1 tag in html code.

    Best,
    Gunjan

    Thread Starter ankur-bordoloi

    (@ankur-bordoloi)

    I remove
    ?php
    if ( is_front_page() ) {?>
    <h1>Header for frontpage</h1>
    <?php
    } else {
    ?>
    <h2>Header for other pages</h2>
    <?php
    }?>
    and add only
    <h1>Header for frontpage</h1>
    to front-page.php.

    Please let us know if you have any issue.

    Best,
    Gunjan

    Thread Starter ankur-bordoloi

    (@ankur-bordoloi)

    Please told me to syntax to center my h1 tag of front-page.php
    “<h1>Header for frontpage</h1>”

    Hi,

    For making h1 tag text in center use text-align: center; property of CSS.

    Thanks

    Best,
    Gunjan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘h1 tag not vailable in custom frontpage BizStudio Lite’ is closed to new replies.