• Resolved artefax

    (@artefax)


    I’m wondering how to make a sidebar on “main” woocommerce shop page.
    I have set ‘default’ template.
    other pages have right sidebar ok.
    Also on this page doesn’t change (pink) banner description and titles

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi

    Banner description and title issue some time happen due to server and chase problem so

    Create a fresh page and enter title , description.

    Thanks

    Akhilesh

    Theme Author webriti

    (@priyanshumittal)

    If you want to add sidebar in the woocommerce shop page

    Than edit this file “functions/woo/woocommerce.php”

    Refer this line number

    And replace the code echo '<div class="container"><div class="row-fluid"><div class="span12">';

    with

    echo '<div class="container"><div class="row-fluid"><div class="span8">'; get_sidebar();

    Let me know did that work.

    Thanks
    Priyanshu

    Thread Starter artefax

    (@artefax)

    I had try it in child theme but it seems don’t work.
    I’m newcomer, not knowing wp very well. I put woocommerce.php in folder structure as in “parent theme”. It seem doesn’t load it. If have tried in root of child theme, there was error with ‘double declaration’.

    Thread Starter artefax

    (@artefax)

    Create a fresh page and enter title , description.

    doesn’t work for “shop” page.

    Thread Starter artefax

    (@artefax)

    I tried it in ‘parent’ theme and there works, but not correctly.

    echo ‘<div class=”container”><div class=”row-fluid”><div class=”span8″>’; get_sidebar();

    It seems that “get_sidebar()” puts sidebar ‘inside span8’ and is ‘before’ woocommerce page.

    Thread Starter artefax

    (@artefax)

    result in page look like this:

    <!-- End of pink strip --><div class="container"><div class="row-fluid"><div class="span8"><div class="span4" id="sidebar">
       <div class="widget"> <div id="widget-title" class="span12"><h4 class="spa-widget-title">Kategórie produktov</h4></div>

    Theme Author webriti

    (@priyanshumittal)

    Oops Ignore my last code.

    Copy code from https://pastebin.com/D8q8fpfPM in your child theme woocommerce.php file.

    If that does’nt work than directly place it in the parent theme woocommerce.php file.

    Let me know did that work for you.

    Thanks
    Priyanshu

    Thread Starter artefax

    (@artefax)

    ok. this try was better ??
    it is working in ‘parrent’ theme. But in your code was syntax error (I corrected it).
    I also add echo '<div class="sidebar-topspacer"></div>'; before ‘getsidebar’to get look like other (nonshop) pages.

    So THANK YOU. sidebar is solved.

    And what about ‘pinkstripe’ banner tittle and description? It is not changed via ‘page editor’.

    Theme Author webriti

    (@priyanshumittal)

    For that you will find a metabox below the editor. The pink strip text is not configured through page editor.

    Did you find this theme good to go, if you are satisfied , than do rate us.

    Thanks
    Piyanshu

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘woocommerce shop page side bar’ is closed to new replies.