Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1077936
    knamaky
    Participant

    Hello,

    Can I add an H1 header to the following blog page and, if so, how?

    http://gurulocity.com/blog/

    I am currently on X version 4.5.2 using the icon stack.

    Thanks.

    #1078333
    Jade
    Moderator

    Hi there,

    Please go to Appearance > Customize > Icon > Blog Options > Blog Title.

    Hope this helps.

    #1079294
    knamaky
    Participant

    Hello.

    My menu does not follow this structure. I do not have “Blog Options”. My menu is as follows:

    Appearance/Customize/Icon

    Then the following options appear:

    Post Title Icon
    Standard Post Custom Colors
    Image Post Custom Colors
    Gallery Post Custom Colors
    Video Post Custom Colors
    Audio Post Custom Colors
    Quote Post Custom Colors
    Link Post Custom Colors

    That is all that appears. Please advise.

    #1079324
    Thai
    Moderator

    Hi There,

    Please provide us with your admin account so we can take a closer look.

    Thank you.

    #1089112
    knamaky
    Participant
    This reply has been marked as private.
    #1089598
    Friech
    Moderator

    Hi There,

    Thanks, but the credentials did not work. I’m getting “ERROR: Incorrect username or password.”

    You can try adding this on your child theme’s functions.php file.

    function custom_blog_title() { 
    
     if(is_home()): ?>
        <div class="blog-title">
        <div class="x-container max width">
       <h1 class="my-blog-title h2 mtn"><?php wp_title( '' ); ?></h1>
        </div>
        </div>
      <?php endif;
    
    } 
    add_action('x_after_view_icon__breadcrumbs','custom_blog_title', 30);

    Cheers!

    #1089805
    knamaky
    Participant

    Thanks. Do I add the actual title I want into the code somewhere?

    #1089813
    Christopher
    Moderator

    Hi there,

    Please remove previous code and add following code in Customize -> Custom -> JavaSript :

    jQuery("<header class='x-header-landmark x-container max width'><h1 class='h-landmark' style='text-align:center;'><span>Le Blog</span></h1>").insertBefore(".blog .x-main");

    Hope it helps.

    #1095344
    knamaky
    Participant

    Thank you. The javascript worked perfectly and looks great.

    #1095403
    Joao
    Moderator

    Glad to hear it.

    Let us know if we can help with anything else.

    Joao

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