Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1289692
    EMCS
    Participant

    Hi there,

    i am trying to insert some text above the content of the main portfolio page. I have seen and tried a few solutions, but they didn’t help. Can you help me with this?

    The page i’m talking about is located at: http://www.vergaderlocatie-eindhoven.nl/zalen/

    Thanks in advance for the response!

    Regards,

    Tommy

    #1289696
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> Global JavaScript :

    jQuery(document).ready(function($) {
      var html = '<div class="custom-content"><h2>Your Custom Title</h2><p>Some Text that you need to add</p></div>';
      $( html ).appendTo('.page-template-template-layout-portfolio .x-header-landmark');
    });

    Hope that helps.

    #1289774
    EMCS
    Participant

    It works well! I tried something like that before, but then i didn’t see the change. Now it does. Thanks alot!

    #1289792
    Paul R
    Moderator

    You’re welcome! 🙂

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