Blog Title on Renew

I have a site in development, and have used renew as the stack. On every page but the home page, I created a custom title bar with a section and a styled headline. I want to mimic this headline style on the blog page, currently newsletters. Currently no title at all shows up on the blog page. Is there a custom code that will allow me to add a title to the blog page with a class, which I then could style in CSS?

I will add the url and password in a private comment.

Hello @Plexustech,

Thanks for asking. :slight_smile:

Please make sure that you have added the Blog Page title under X > Theme Options > Renew > Blog Options > Blog Title.

Let us know how it goes.

Thanks.

Sorry, this is Pro, not X. Under Theme Options > Renew > Blog Options there is no spot for a blog title. If I go to Customize> Renew>Blog options, there is a spot for a Blog Title, it is filled in as Newsletters, but still nothing shows up on the front end. I saw a previous forum post about adding a blog title to ethos using functions.php, is a similar thing available for renew?

Hi There,

The x-header-landmark (below mastheader) is not available when you have a custom header (built in header builder).

Yes, we can use the same method provided on that thread to add a pseudo header-landmark on your blog page.

Please add this to your Child Theme’s functions.php file.

/*Adding title to renew blog page*/
function add_title() {
  if(is_home()) { ?>
    <header class="x-header-landmark x-container max width">
      <h2 class="h-landmark"><span>Newsletters</span></h2>
    </header>
 <?php }
}
add_action( 'x_after_masthead_end', 'add_title', 10 );

Make sure you copy/paste everything.

Hope it helps,
Cheers!

Thanks! I always appreciate your prompt replies and your help. I will give this a shot right now.

You are most welcome.

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