Tagged: x
-
AuthorPosts
-
May 4, 2016 at 11:34 am #912772
dalatarzanParticipantHi.
I have recently changed design on my x-site and removed a sidebar on my product page. Even if its gone it has left a big hole to the left of the product, where the sidebar was positioned before. I suspect that some code prevent the product from going from left to right correctly. Can you please help out? I will attach the current functions.php since I suspect that it may be updated. I’m pretty useless myself on coding. This only occur on the product page and not on product category pages.Thanks
JonasMay 4, 2016 at 11:53 am #912810
dalatarzanParticipantThis reply has been marked as private.May 4, 2016 at 4:10 pm #913237
RahulModeratorHello There,
Thanks for writing in! To assist you better with this issue, would you mind providing us the url of your site with login credentials so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– Your site’s FTP detailsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thank you.May 4, 2016 at 4:39 pm #913282
dalatarzanParticipantThis reply has been marked as private.May 4, 2016 at 10:41 pm #913704
RadModeratorHi there,
You mean to set the product page’s layout to full-width? If yes, then please remove this
add_filter( 'ups_sidebar', 'product_sidebar', 9999 ); function product_sidebar ( $default_sidebar ) { if ( x_is_product() ) return 'ups-sidebar-woocommerce-start'; //Must match the ID of your target sidebar return $default_sidebar; }Then add this code before this line,
return $layout;if ( x_is_product() ) { $layout = 'full-width'; }Hope it helps.
May 5, 2016 at 1:18 am #913851
dalatarzanParticipantAbsolutely brilliant!!
Thanks a lot!
Fast and supergood.Happy Jonas
May 5, 2016 at 6:20 am #914121
LelyModeratorYou’re welcome Jonas!
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-912772 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
