Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #297375

    mode500
    Participant

    Sorry I forgot to add that I would also like the subheader to be the same color as the header also.

    #297983

    Christopher
    Moderator

    Hi there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #298586

    mode500
    Participant
    This reply has been marked as private.
    #299381

    Friech
    Moderator

    Hey There,

    I can’t connect with the credentials provided. To show the sub-title, open the file _landmark-header.php and look on line:

    <!-- <h1 class="h-landmark"><span><?php echo x_get_option( 'x_integrity_blog_title' ); ?></span></h1>
        <p class="p-landmark-sub"><span><?php echo x_get_option( 'x_integrity_blog_subtitle' ); ?></span></p> -->

    The <h1 class="h-landmark"><span><?php echo x_get_option( 'x_integrity_blog_title' ); ?></span></h1> is the original blog title.

    The second line is the subtitle <p class="p-landmark-sub"><span><?php echo x_get_option( 'x_integrity_blog_subtitle' ); ?></span></p>

    They are both commented out because they are wrap with <!-- --> try to comment out only the original blog title

    by updating that line of code to this:

    <!-- <h1 class="h-landmark"><span><?php echo x_get_option( 'x_integrity_blog_title' ); ?></span></h1> -->
        <p class="p-landmark-sub"><span><?php echo x_get_option( 'x_integrity_blog_subtitle' ); ?></span></p>

    Then add this under Custom > CSS in the Customizer for the subtitle to have same color with main header.

    .p-landmark-sub {color: #e5e5e5;}

    Hope it helps, Cheers!

    #359084

    Shaun N
    Participant

    Hi, only got to trying this now since my last comment. The title header doesn’t dissapear and I am not able to make use of the visual composer on the blog page as I need to customize the header from there.

    Ideally I need the header title section to completely disappear and I should have the functionality of the Visual Composer in order to add text before the actual blog items are listed.

    Thanks

    #359119

    Paul R
    Moderator

    Hi Shaun,

    Regretfully what you are trying to achieve is only possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding. Take care!

    #361054

    Shaun N
    Participant

    Hi, I never realized, but the code is for Integrity and I am using Renew. Can you please provide code for Renew.

    #361087

    Zeshan
    Member

    Hi Shaun,

    It is not possible to edit a blog page using WordPress page editor. As this is a default WordPress behaviour, it requires custom development to achieve your desired results. While that is outside the scope of support, I could point you in the right direction with the understanding that it would ultimately be your responsibility to take it from here.

    So, add following code in your child theme’s functions.php file:

    // Enable Cornerstone/VC/Standard WordPress Editor Support in Posts Page
    // =============================================================================
    
    function blog_page_vc_support() {
      if ( is_home() ) {
        $page_for_posts = get_option( 'page_for_posts' );
        $content = apply_filters('the_content', get_post_field('post_content', $page_for_posts));
    
        echo '<div class="blog-content">' . $content . '</div>';
      }
    }
    
    add_filter('x_after_view_renew_wp-header', 'blog_page_vc_support');
    

    It will enable the post content support on your blog page. If you are using other stack than renew, replace renew from the code with the name of your stack (all small letters).

    In order to hide landmark header on blog page, you can use following CSS code under Custom > CSS in the Customizer:

    .x-header-landmark {
      display: none !important;
    }
    

    Thanks!