Viewing 15 replies - 1 through 15 (of 32 total)
  • Theme Author Towfiq I.

    (@tislam100)

    the right sidebar on woocommerce is removed automatically as it doesnt function well with the theme.

    You can get the sidebar back on by removing this line from functions.php:

    remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10);

    Thread Starter stenalines

    (@stenalines)

    thx man. awsume theme i really do like it ??

    Thread Starter stenalines

    (@stenalines)

    now i tried it and as you said it it is not function well. would be great if you could fix that. The theme travelify supports it just in case u wanna look at it

    Theme Author Towfiq I.

    (@tislam100)

    Can you activate the sidebar and let me know? I will see how it looks.

    Thread Starter stenalines

    (@stenalines)

    sure, it is active now.

    butik means shop

    there u can even see how it shows catogories i was talking about in this thread:

    https://www.ads-software.com/support/topic/woocommerce-catogorys-on-the-shope-base-page-not-working?replies=5#post-5134004

    Theme Author Towfiq I.

    (@tislam100)

    I see you changed the theme. can you change back to asteria lite and let me know?

    Thread Starter stenalines

    (@stenalines)

    now i changed to asteria again and i activated the sitebar by
    deleting the code in function.php

    Theme Author Towfiq I.

    (@tislam100)

    the sidebar looks ok. its displaying the same result as the other theme..
    how did you want it?

    Thread Starter stenalines

    (@stenalines)

    let me make some screenshots.

    Thread Starter stenalines

    (@stenalines)

    This is how it looks with travelify and how i want it. next to the products:
    https://i39.tinypic.com/6hi1k9.png
    this is how it looks like when i use asteria:

    https://i40.tinypic.com/2wc4jcw.png

    in asteria the sidebar appears under the shop items not next to them
    i am using Chrome Version 32.0.1700.76 m

    Theme Author Towfiq I.

    (@tislam100)

    hmm.. I did not see the product list page, I just checked the single product page. can you switch back to asteria and let me know?

    Thread Starter stenalines

    (@stenalines)

    hey asteria is installed

    Theme Author Towfiq I.

    (@tislam100)

    add this to your stylesheet:

    .wooinner{width: 96%;float: left;background: #fff;padding: 2%;}
    .woowrap{width: 80%;margin: 0 auto;}
    .post-type-archive-product #container{width: 68%;float: left;background: #fff;}
    .post-type-archive-product #container .fixed_site{width:100%;}

    then add this to your footer.php:

    <script type="text/javascript">
     jQuery(window).ready(function() {
    jQuery('.post-type-archive-product #container, .post-type-archive-product #sidebar').wrapAll('<div class="woowrap"><div class="wooinner"></div></div>');
    });
    </script>

    just before

    <?php wp_footer(); ?>

    Thread Starter stenalines

    (@stenalines)

    now it is working for the product list page ;:) yeaaaaah ?? nice work around. But still not working on the single product page. ?? having headaches yet?

    Theme Author Towfiq I.

    (@tislam100)

    replace the css code with this:

    .wooinner{width: 96%;float: left;background: #fff;padding: 2%;}
    .woowrap{width: 80%;margin: 0 auto;}
    .post-type-archive-product #container, .single-product #container{width: 68%;float: left;background: #fff;}
    .post-type-archive-product #container .fixed_site, .single-product #container .fixed_site{width:100%;}

    and the footer code with:

    <script type="text/javascript">
     jQuery(window).ready(function() {
    jQuery('.single-product #container, .single-product #sidebar, .post-type-archive-product #container, .post-type-archive-product #sidebar').wrapAll('<div class="woowrap"><div class="wooinner"></div></div>');
    });
    </script>
Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘woocommerce issue: the right sidebar disappear’ is closed to new replies.