Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1367199
    jquinn33
    Participant

    Hi! We’re using Ethos and are wanting to have the title of our Blog page at the top, but after assigning it as the page for blog posts, the title disappears. We tried using the code suggested in one of the other posts out here of:

    jQuery(“.blog .offset.cf”).prepend(“<h1 class=’h-landmark’ style=’text-align:center;’><span>Blog</span></h1>”);

    This did not seem to work. Are we maybe missing something else?

    Thank you for your help! 🙂

    #1367203
    jquinn33
    Participant
    This reply has been marked as private.
    #1367605
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! To resolve your issue, please make sure of this JS code instead:

    (function($){
      $(".blog .offset.cf").prepend('<h1 class="h-landmark" style="text-align:center;"><span>Blog</span></h1>');
    })(jQuery);

    We would loved to know if this has work for you. Thank you.

    #1368473
    jquinn33
    Participant

    Thank you so much, Rue! I did try this and couldn’t seem to get it to work adding this to the JS code customizer. We ended up doing things a different way, so no longer need the Blog page, but I thank you for your help! 🙂

    #1368487
    Rad
    Moderator

    You’re welcome!

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