← Site Menu
NetMinistry Web Presence Platform

Creating Page Title Areas

This tutorial teaches you how to convert the normal H1 titles of your pages into title areas you can style with CSS.

Most of the time, H1 page titles work perfectly. They are simple and obvious to your website visitors. However, there may be times where you want to create a dedicated page title area to enforce the visual separation betwene your titles and the main page content. Our platform has a smart Page Title feature that autodetects page title areas and moves your H1 tags into it automatically.

To create a page title area in your template, be sure that you are editing your SECONDARY template or any auxiliary template only. Page title areas are not intended for homepages. Here is a sample structure:

<div id="divPageTitle"><div class="container"><div class="row"><div class="col-md-12">
    <div class="page-title-area"></div>

The most important part of this code is the class called page-title-area. When your secondary pages load, our platform automatically detects the existence of any element with that class assigned to it and moves your H1 page title into that area automatically.

Once you title is in that new area, you can style it. Here is an example of CSS styling for a page title area:

#divPageTitle {

We also recommend adding a media query for mobile with the following modification to the above style:

#divPageTitle {

By using this special feature of our platform, you can use your creativity to style your own page title areas by adding color, background images, video backgrounds, and much more.

Version 1.8 • Last Updated 8/12/2023 7:11:07 PM

Back to Search

© NetMinistry Technology Corporation • P.O. Box 272584 • Tampa, FL 33688 • (813) 441-9814 • Sales: (813) 441-9815