Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1195369
    Rad
    Moderator

    Hi there,

    It’s made that way for Ethos, usually, the blog title is added within the landmark and Ethos has different landmark. Though, personally, yes, it’s a good option regardless of the stack.

    You can then add this code to your functions.php

    add_action('x_before_view_global__index', 'ethos_blog_title');
    function ethos_blog_title () {
    if( is_home() ) : ?>
    <h1> MY BLOG TITLE </h1>
    <?php endif; 
    }

    About your last question, it’s possible through template code. It’s part of the landmark template and you’ll just need to add h-custom-headline cs-ta-center h1 accent to <h1>‘s class attribute. But this is easier, please add this code to Admin > Appearance > Customizer > Custom > Javascript.

    jQuery('.page-template-template-layout-portfolio .h-landmark.entry-title').addClass('h-custom-headline cs-ta-center h1 accent').removeClass('h-landmark entry-title');

    Hope this helps.

    #1197036
    salilou
    Participant

    Thank you, this works!
    I had to add an additional span tag to the blog h1, but now it is ok.

    #1197049
    Lely
    Moderator

    You’re welcome!

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1193761 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>