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?
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');
});