Tagged: x
-
AuthorPosts
-
January 8, 2017 at 2:25 pm #1321366
anzezalaParticipantHello,
i would like to build a custom sidebar on my woocommerce shop page. I have tried to make a sideabr and then add it to shop but for some reason it doesn’t work. If you could please help me. I am trying to make different categories for my products.
my webpage: http://zalc.si/trgovina/Best regards Anže.
January 8, 2017 at 4:47 pm #1321484
NicoModeratorHi There,
Thanks for writing in .
You could check the link below on how to add sidebar to shop page.
https://community.theme.co/forums/topic/how-to-add-sidebar-to-shop-pages-in-woocommerce/
Hope it helps.
Let us know how it goes.
Thanks.
January 9, 2017 at 4:30 am #1322093
anzezalaParticipantHi,
i did everything on that post and it worked but the sidebar is under all the products. I attached the image of how it looks. Also i would like that when i chose i category the sidebar menu is still there, but i couldn’t achive that. If you could help me with these problem and i was wondering if there is a chance that we make the text more appealing with different colors or some boxes with the text in them.
My webpage: http://zalc.si/trgovina/Thanks
January 9, 2017 at 5:02 am #1322131
Paul RModeratorHi,
You can add this under Custom > Edit Global CSS in the Customizer.
.post-type-archive-product.woocommerce .x-main.full { float: right; display: block; width: 69.536945%; margin-left: 4%; }Hope that helps.
January 9, 2017 at 6:19 am #1322208
anzezalaParticipantYes it helps, but i would like that i would have the sidebar menu when i click a certain category to. Also if you could help me with the styling of the sidebar menu would be great.
January 9, 2017 at 6:35 am #1322233
ChristopherModeratorHi there,
To add sidebar, please check this link https://community.theme.co/kb/unlimited-sidebars
In regards with styling sidebar, let us know how would you like to customize it.Hope it helps.
January 9, 2017 at 8:13 am #1322375
anzezalaParticipantHi,
i looked at the post you sent me, but no luck. I don’t have the sidebar menu on the categorie pages only on the main shop page.
I have added screenshots of the pages i would like to have the sidebar on and how my sidebar looks like.January 9, 2017 at 1:36 pm #1322803
NicoModeratorHi There,
Would you mind sharing us your admin credentials so we could check your setup closer.
Don’t forget to set it as private reply.
Please share us again the sidebar that you want to achieve so that we could know that if we could do it or if it is beyond to scope of our limitation. In case it is not beyond our scope, we’ll do our best help you.
Thanks.
January 9, 2017 at 1:47 pm #1322830
anzezalaParticipantThis reply has been marked as private.January 9, 2017 at 10:51 pm #1323410
ChristopherModeratorHi there,
You’ve assigned ‘Klasifikacija izdelkov’ sidebar to archive pages but this sidebar is empty, please add some widgets. Also you need to change content layout under Customize -> Layout and design to
Sidebar Left, Content RightorContent Left, Sidebar Right.Hope it helps.
January 14, 2017 at 6:00 am #1329820
anzezalaParticipantHi,
I did everything you said but no luck. The products moved to the side but i still don’t have the menu. I would like the same menu as on the shop page to be on the categorie pages. Aded a widget and also changed the layout and design but no luck. Any other suggestions?January 14, 2017 at 6:33 am #1329840
ChristopherModeratorHi there,
Please update theme and plugins.
Remove following code from child theme’s functions.php :// Additional Functions // ============================================================================= function x_my_custom_widgets_init() { register_sidebar( array( 'name' => __( 'My Shop Sidebar', '__x__' ), 'id' => 'sidebar-my-custom-shop', 'description' => __( 'Appears on the index shop page.', '__x__' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="h-widget">', 'after_title' => '</h4>', ) ); } add_action( 'widgets_init', 'x_my_custom_widgets_init' );Hope ti helps.
January 14, 2017 at 3:52 pm #1330158
anzezalaParticipantHi, did what you said but it didn’t work. I need this code, otherwise the sidebar doesn’t even show on the main shop page. I would like that the menu also shows on my categorie pages. Example: I go to my shop page and want to select a categorie. I click categorie Aronija and it opens products from that categorie but than i want the same sidebar as on the main shop page to be dispalyed on the categorie page.
January 15, 2017 at 12:05 am #1330515
ChristopherModeratorHi there,
Please provide us with FTP credentials.
Thanks.
January 15, 2017 at 7:35 am #1330767
anzezalaParticipantHi,
i don’t know why would you need my FTP credentials. I think the problem is in the php code. Maybe if you could just alter it and add so the sidebar would be displayed in taxonomies. Because now it is only visible in my shop index page. I am refering to this line ‘description’ => __( ‘Appears on the index shop page.’, ‘__x__’ ), -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1321366 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
