Home › Forums › WoodMart support forum › WC Marketplace – Sidebar
WC Marketplace – Sidebar
- This topic has 35 replies, 4 voices, and was last updated 6 years, 5 months ago by Artem Temos.
-
AuthorPosts
-
March 28, 2018 at 8:33 pm #49708
jborrazasParticipantHello,
I am using WC Marketplace and everything works very well so far, Woodmart is a great theme!
But I have to solve some minor inconveniences. I know you can help me and I appreciate it.
1- I’m seeing that the pages, the seller’s store and the list of sellers use the same sidebar of the blog.
How can I unlink and change this? On the site there is also a blog, they can not share the same sidebar.
Can you link a different sidebar to the pages, the seller’s store and the seller’s list? (taking advantage that the theme allows to add sidebars).
2- I also need to adjust CSS on the Store List page.
3- Finally I need to customize the button (Desktop – manage your account from here) of “My account” page, so that it looks like the others.
Thank you.
Juan.Attachments:
You must be logged in to view attached files.March 29, 2018 at 8:18 am #49760
Bogdan DonovanKeymasterHi,
1. In vendors list page try to remove sidebar in page settings http://prntscr.com/ixwlry.
In vendor shop page try to remove blog sidebar globally in theme settings (Theme Settings -> Blog) and enable it only on blog post page.2 & 3. Try to add the following code snippet to the Custom CSS area in Theme Settings to fix this issues.
.wcmp_vendor_list .vendor_sort { display: -webkit-box; display: -ms-flexbox; display: flex; margin-left: -10px; margin-right: -10px; } .wcmp_vendor_list .vendor_sort select, .wcmp_vendor_list .vendor_sort input { margin-left: 10px; margin-right: 10px; } .wcmp_vendor_list .vendor_sort select { max-width: 195px; } .wcmp_vendor_list .vendor_sort input { min-width: 90px; } .woodmart-my-account-links + a { max-width: calc(33% - 15px); width: calc(33% - 15px); padding: 20px; display: block; box-shadow: 0 0 4px rgba(0, 0, 0, 0.18); font-size: 14px; font-weight: 600; text-align: center; text-transform: uppercase; } .woodmart-my-account-links + a:hover { background-color: rgba(0, 0, 0, 0.03); color: #3f3f3f; } .woodmart-my-account-links + a:before { content: "\f437"; font-family: "woodmart-font"; display: block; color: #d0d0d0; margin-bottom: 10px; font-size: 50px; font-weight: 400; line-height: 50px; -webkit-transition: color 0.25s ease; transition: color 0.25s ease; } .woodmart-my-account-links + a:hover:before { color: #7eb934 } @media (max-width: 1024px) { .woodmart-my-account-links + a { max-width: calc(50% - 10px); width: calc(50% - 10px); } } @media (max-width: 768px) { .wcmp_vendor_list .vendor_sort select { max-width: 100%; } } @media (max-width: 480px) { .woodmart-my-account-links + a { max-width: 100%; width: 100%; } .wcmp_vendor_list .vendor_sort { -ms-flex-wrap: wrap; flex-wrap: wrap; } .wcmp_vendor_list .vendor_sort select { margin-bottom: 10px; } }
Regards
March 29, 2018 at 3:22 pm #49883
jborrazasParticipantHello,
The CSS theme is solved, thankyou.
Regarding the sidebar of the Seller Store and Store List pages, I need you to have a different sidebar, not the Blog’s sidebar.
In the sidebar Shop of the seller, I want to place the widgets “Seller’s product categories” “Google maps” and “Contact seller”, this can not be in the Blog.
I apologize for the language, I speak Spanish and I use a translator.
Thankyou
Juan.Attachments:
You must be logged in to view attached files.March 29, 2018 at 10:07 pm #49936
jborrazasParticipantSorry, on the Store List page, I know how to customize the sidebar, as it is a page with a shortcode. Where I do not know how to do it is on the seller’s Shop page, because the page is an endpoint. I hope you have understood me.
Juan.March 30, 2018 at 7:46 am #49994
Artem TemosKeymasterCould you please provide us your FTP access so we can see what can we do there?
March 30, 2018 at 12:43 pm #50082
jborrazasParticipantHi, I send access data in private.
March 30, 2018 at 12:51 pm #50083
Artem TemosKeymasterSorry, but we can’t access http://prntscr.com/iyhwax
March 30, 2018 at 1:56 pm #50095
jborrazasParticipantYou can work? I see you connected …
Attachments:
You must be logged in to view attached files.March 31, 2018 at 1:41 pm #50178
Artem TemosKeymasterNo, as we shown on the screenshot, we are not able to connect your server.
March 31, 2018 at 3:51 pm #50209
jborrazasParticipantMy hosting provider tells me to use the user [email protected] and use the IP address.
Thanks
Juan.March 31, 2018 at 6:34 pm #50229
Eric WatsonParticipantHello,
We tried a few times but still can’t connect http://prntscr.com/iyyo05
Kind Regards
XTemos StudioMarch 31, 2018 at 11:01 pm #50232
jborrazasParticipantIntenta ahora sorry.
April 1, 2018 at 8:49 am #50256
Artem TemosKeymasterWe still see the same error.
April 2, 2018 at 2:09 pm #50423
jborrazasParticipantHello
April 2, 2018 at 2:41 pm #50428
Artem TemosKeymasterTry to create a file in the child theme called
sidebar.php
and place the following code inside<?php global $WCMp; $sidebar_class = woodmart_get_sidebar_class(); $sidebar_name = woodmart_get_sidebar_name(); if( strstr( $sidebar_class, 'col-sm-0' ) ) return; ?> <aside class="sidebar-container <?php echo esc_attr( $sidebar_class ); ?> area-<?php echo esc_attr( $sidebar_name ); ?>" role="complementary"> <div class="widget-heading"> <a href="#" class="close-side-widget"><?php esc_html_e( 'close', 'woodmart' ); ?></a> </div> <div class="sidebar-inner woodmart-sidebar-scroll"> <div class="widget-area woodmart-sidebar-content"> <?php do_action( 'woodmart_before_sidebar_area' ); ?> <?php if ( is_tax( $WCMp->taxonomy->taxonomy_name ) ) { dynamic_sidebar( 204 ); } else{ dynamic_sidebar( $sidebar_name ); } ?> <?php do_action( 'woodmart_after_sidebar_area' ); ?> </div><!-- .widget-area --> </div><!-- .sidebar-inner --> </aside><!-- .sidebar-container -->
And you will need to place your sidebar ID here https://prnt.sc/izrpri
April 2, 2018 at 11:48 pm #50503
jborrazasParticipantExcellent, genius. It was working.
Thank you!!!!
Juan.April 3, 2018 at 6:13 am #50512
Artem TemosKeymasterGreat, you are welcome!
June 26, 2018 at 3:02 pm #64869
jborrazasParticipantHello,
I need help to solve 2 problems.
1- I have a customized sidebar (sidebar.php in the child theme directory) for the vendor store (WC Marketplace plugin). After the last update of the theme, the sidebar of the blog appears before the footer of several pages. If I delete the file sidebar.php the problem is solved.
See sidebar.php code above in #50428.2- On the vendor’s store page when selecting a product category or changing the type of view, the location map disappears, it also changes the star rating format to a scrollable menu.
June 26, 2018 at 3:43 pm #64877
Artem TemosKeymasterHi,
Please, provide us screenshots to both problems so we can identify them.
Thank you
June 26, 2018 at 4:38 pm #64891
jborrazasParticipantI send Onedrive link, video of the errors.
Thank you.June 26, 2018 at 5:05 pm #64900
Artem TemosKeymasterWe can’t connect your FTP. It seems that you have some country restriction on your server.
June 26, 2018 at 5:20 pm #64907
jborrazasParticipantIn which country are you?
I consult my hosting provider.
You and I always have the same problem, I will try to solve it.June 26, 2018 at 5:35 pm #64916
jborrazasParticipantDir IP
June 27, 2018 at 6:07 am #64964
Artem TemosKeymasterOK, here is
June 28, 2018 at 3:35 pm #65310
jborrazasParticipantHi, We’ve already added your Ip dir to whitelist, try entering. Thank you.
June 28, 2018 at 4:13 pm #65314
Artem TemosKeymasterSorry, but I have another IP now. And it would be better to disable this restriction at all. Otherwise, I will not be able to connect.
June 28, 2018 at 4:50 pm #65322
jborrazasParticipantPlease…
June 29, 2018 at 6:10 am #65344
Artem TemosKeymasterReplace your sidebar.php file content with this one
<?php /** * The sidebar containing the secondary widget area * * Displays on posts and pages. * * If no active widgets are in this sidebar, hide it completely. */ $sidebar_class = woodmart_get_sidebar_class(); $sidebar_name = woodmart_get_sidebar_name(); if( strstr( $sidebar_class, 'col-md-0' ) ) return; ?> <aside class="sidebar-container <?php echo esc_attr( $sidebar_class ); ?> area-<?php echo esc_attr( $sidebar_name ); ?>" role="complementary"> <?php if ( woodmart_woocommerce_installed() ): ?> <div class="widget-heading"> <a href="#" class="close-side-widget"><?php esc_html_e( 'close', 'woodmart' ); ?></a> </div> <?php endif; ?> <div class="sidebar-inner woodmart-sidebar-scroll"> <div class="widget-area woodmart-sidebar-content"> <?php do_action( 'woodmart_before_sidebar_area' ); ?> <?php if ( is_tax( $WCMp->taxonomy->taxonomy_name ) ) { dynamic_sidebar( 1440 ); } else{ dynamic_sidebar( $sidebar_name ); } ?> <?php do_action( 'woodmart_after_sidebar_area' ); ?> </div><!-- .widget-area --> </div><!-- .sidebar-inner --> </aside><!-- .sidebar-container -->
As for Vendors page, you need to disable AJAX shop option in Theme Settings -> Shop.
July 2, 2018 at 8:57 pm #65673
jborrazasParticipantHello,
Finally the sidebar problem was solved, thank you very much.
Now it is necessary to solve point 2 of the topic #64869. Attachment video link.
Thank you.July 3, 2018 at 6:13 am #65692
Artem TemosKeymasterHi,
You need to disable AJAX shop option in Theme Settings -> Shop. Unfortunately, it is not possible to make it compatible with those widgets.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register