Change Generated Page to Sidebar Left Template

Hello,

I am working with a page that is generated from the Big Commerce integration:
https://bullseyesurplus.com/products/categories/long-guns/

That page is automatically generated by Big Commerce. Is there a way to change the template so it uses a sidebar?

Hi Justin,

Thank you for writing in, it’s using an archive template, try this, please navigate to Theme Options > Layout and Design and set the Content Layout to Sidebar Left, Content Right.



Then navigate to Theme Options > Blog under ARCHIVES set the LAYOUT to Use Global Content Layout



Hope it helps,
Cheers!

Hello,

I followed your steps but to no avail.

https://bullseyesurplus.com/products/categories/long-guns/

Hi Justin,

Would you mind providing us the url of your site with login credentials so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation.

To do this, you can create a secure note with the following info:
– Link to your site
– WordPress Admin username / password

To know how to create a secure note, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288

Thank you.

The information you requested is attached.

Hello Justin,

It seems that Big Commerce is using it’s own template. You will need to override it.

To resolve this issue, since you have your child theme active and ready, please follow these steps below:
1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
2] Insert the following code into that new file

<?php

/**
 * The content-wrapper.php template is responsible for rendering everything that goes between
 * get_header() and get_footer() in the theme.
 *
 * @var string $content The contents of the page to render inside of the wrapper
 */
?>
  <div class="x-container max width offset">
    <div class="<?php x_main_content_class(); ?>" role="main">

		<div class="entry-content">
			<?php echo $content; ?>
		</div>

	</div>

	<?php if ( $fullwidth != 'on' ) : ?>
      <?php get_sidebar(); ?>
    <?php endif; ?>

  </div>

3] Save the file named as page-wrapper.php
4] Upload this file to your server in the child theme’s folder wp-content/themes/x-child/bigcommerce/components/

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

It did work!

Thank you.

Glad we were able to help :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.