WordPress.org

Support

Support » Themes and Templates » BizStudio Lite » [Resolved] h1 tag not vailable in custom frontpage BizStudio Lite

[Resolved] h1 tag not vailable in custom frontpage BizStudio Lite

  • Ankur

    @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 6 replies - 1 through 6 (of 6 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

    Ankur

    @ankur-bordoloi

    Thank you very much…. I add
    <?php
    if ( is_front_page() ) {?>
    <h1>Header for frontpage</h1>
    <?php
    } else {
    ?>
    <h2>Header for other pages</h2>
    <?php
    }?>
    on fron-page.php and now h1 tag is available in frontpage of my site

    http://www.ankurs.net/

    Ankur

    @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

    Ankur

    @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 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] h1 tag not vailable in custom frontpage BizStudio Lite’ is closed to new replies.
Skip to toolbar