Title on Integrity Blog Archive Page

How can I add a custom title and subtitle to just the blog archive page on the integrity stack?

https://tickhostings.com/impressasolutions/blog/

Hello @impressalv,

Thanks for reaching out. :slight_smile:

You can add title and subtitle from Posts > Categories Edit Category. After that scroll down till you see Archive Title and Archive Sub Title.

Thanks.

I tried that and it doesn’t work. There is no place to save that anyway. I just want to add a title and subtitle to the blog post page. Not on any category page.

Hi @impressalv,

I checked and can see that you are using PRO Header. When using Pro Header the blog title is being replace by it.

There are two way you can add your blog title.

  1. You can create another PRO Header, the same as the existing one but with your blog title. Then assign that header to your posts page.

  1. Another option is to add the title using hooks. Add the code below in your child theme’s functions.php file.
// add blog title 
function add_blog_title() {
    if(is_home()) {
        ?>
        <header class="x-header-landmark x-container max width">
                <h1 class="h-landmark"><span>Le Blog</span></h1>
                <p class="p-landmark-sub"><span>Welcome to our little corner of the Internet. Kick your feet up and stay a while.</span></p>
        </header>
        <?php
    }
}

add_action('x_after_view_global__slider-below', 'add_blog_title');

Change Le Blog and Welcome to our little corner of the Internet. Kick your feet up and stay a while. with your own text.

Hope this helps

1 Like

Hi,

I’ve used the functions.php fix for the blog title issue and thats worked perfectly, thank you.
However, how do you get rid of the big white space below the blog title?

Thanks

Hi Tamar,

Please add this code in X > Theme Options > CSS:

.blog .x-main .hentry:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.blog .x-container>.offset {
    margin-top: 0;
}

Here are some related links for further reading:

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.