How to enable page/blog sidebar and customise footer further?

I installed this theme recently and noticed that there's no general sidebar for all pages including the blog page. Please advise.

Furthermore I would like to customise the footer more from the default copyright and site name with 'go to top' link all left-aligned to having our company name after the copyright, the 'go to top' link' centralised, and some statutory company number info on the right-align. Please advise.

  • Jack Kitterhing

    Hi there @Spencer

    I hope you are well today.

    I have just taken a look at this on my test install and you are 100% correct that there is no primary/main sidebar, I'm afraid. The theme developer on this is away at the moment, though I will see if I can get another theme developers input @Jeffri for you :slight_smile:

    With regards to the footer, you'll need to edit the code for that it looks like, if you download the theme, unzip it and then edit footer.php, You can then style the output with CSS, you may want to add some additional classes or ID's :slight_smile:

    Thank you!

    Kind Regards
    Jack.

  • Sridhar

    Try this.

    1) Create a child theme of Product and activate it. You might have to go to Appearance -> Menus and set the Primary menu again.

    2) Copy page.php from parent theme into the child theme directory and edit it.

    Replace

    <?php if( $bp_existed == 'true' ) { //check if bp existed ?>
    			<?php get_sidebar('bppage'); ?>
    		<?php } else { // if not bp detected..let go normal ?>
    			<?php get_sidebar('page'); ?>
    		<?php } ?>

    with

    <div id=&quot;sidebar-primary&quot; class=&quot;sidebar&quot;>
    		<?php if( $bp_existed == 'true' ) { //check if bp existed ?>
    			<?php get_sidebar('bppage'); ?>
    		<?php } else { // if not bp detected..let go normal ?>
    			<?php //get_sidebar('page'); ?>
    			<?php dynamic_sidebar( 'pageright-sidebar' ); ?>
    		<?php } ?>
    	</div>

    3) Copy template-blognews.php from parent directory into the child theme directory and edit it.

    Replace

    <?php if( $bp_existed == 'true' ) { //check if bp existed ?>
    	<?php get_sidebar('bpblog'); ?>
    <?php } else { // if not bp detected..let go normal ?>
    	<?php get_sidebar('blog'); ?>
    <?php } ?>

    with

    <div id=&quot;sidebar-primary&quot; class=&quot;sidebar&quot;>
    	<?php if( $bp_existed == 'true' ) { //check if bp existed ?>
    		<?php get_sidebar('bpblog'); ?>
    	<?php } else { // if not bp detected..let go normal ?>
    		<?php //get_sidebar('blog'); ?>
    		<?php dynamic_sidebar( 'pageright-sidebar' ); ?>
    	<?php } ?>
    </div>

    4) In child theme's style.css, add

    .page #content {
    	width: 70%;
    	float: left;
    }
    
    #sidebar-primary {
    	width: 25%;
    	float: right;
    }
    
    #container {
    	margin-bottom: 1em;
    }

    Attaching sample screenshots.

  • Mike

    I , too , am happy with the product-child theme except that it has no sidebars. I followed the instructions above and I do not see that it allowed me to drag widgets to the side.

    Want I don't get it why is the widget panel offer

    page middle & left sidebar
    home middle & left SB

    and when you drag widgets into them, they don't appear.

    Finally how do I get rid of the wp-login.php call beneath the menu.

    Frustrating how you find 90% of a theme but the crucial 10% keeps you from completing your efforts.

    Mike

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.