Hello @lostimagination,
Thanks for providing the information. You are on the right track. To completely resolve your issue which is to display a sidebar in your portfolio item, please do the following:
Since you have your child theme active and ready, please follow these steps below:
- Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
- Insert the following code into that new file
<?php
// =============================================================================
// VIEWS/INTEGRITY/WP-SINGLE-X-PORTFOLIO.PHP
// -----------------------------------------------------------------------------
// Single portfolio post output for Integrity.
// =============================================================================
get_header();
?>
  <div class="x-container max width offset">
    <div class="<?php x_main_content_class(); ?>" role="main">
      <?php while ( have_posts() ) : the_post(); ?>
        <?php x_get_view( 'integrity', 'content', 'portfolio' ); ?>
        <?php x_get_view( 'global', '_comments-template' ); ?>
      <?php endwhile; ?>
    </div>
    <?php if ( $fullwidth != 'on' ) : ?>
      <?php get_sidebar(); ?>
    <?php endif; ?>
    
  </div>
<?php get_footer(); ?>
- Save the file named as wp-single-x-portfolio.php
- Upload this file to your server in the child theme’s folder wp-content/themes/x-child/framework/views/integrity/
You will have to create the folder path since it does not exist yet. Please let us know if this works out for you.