Tagged: x
-
AuthorPosts
-
September 23, 2016 at 10:33 pm #1188760
I am using https://woocommerce.com/products/sensei/ and have added this in my child functions.php
https://gist.github.com/lvnilesh/63406df19e596dd39a27492f21996235
I would like to understand what should be tweaked to make the course, lesson and module pages full width.
Some example pages that I need changed are
https://be.a.cloudgeni.us/course/cloud-essentials/
https://be.a.cloudgeni.us/lesson/why-cloud-computing/Appreciate your help with the awesomeness generally known as themeco X theme.
September 23, 2016 at 11:47 pm #1188821Hi there,
Thanks for writing in.
According to the code, it’s already full width, but, there are malformed elements that causes the sidebar falls within the x-main container. There are multiple and nested instances of entry-wrap too.
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks!
September 23, 2016 at 11:47 pm #1188822And also the woocommerce checkout page https://be.a.cloudgeni.us/checkout/ needs to be full width as I do not want customers distracted with sidebar.
September 23, 2016 at 11:50 pm #1188826Hi there,
Please provide the information as requested and I’ll see if I can find those malformed elements. And for woocommerce, please set your Woocommerce layout at Admin > Appearance > Customizer > Woocommerce > Shop Layout.
Thanks!
September 23, 2016 at 11:54 pm #1188827This reply has been marked as private.September 24, 2016 at 12:22 am #1188842Hello There,
Thanks for providing the information. Upon inspection, the shop page is already fullwidth. You just set the navbar as fixed left that is why there is navigation on the left side. If you want to remove the sidebar in your checkout page, please edit that page and change the page template to Layout – Fullwidth.
Hope this helps.
September 24, 2016 at 12:24 am #1188847Also, the events page does not seem to render correctly. https://be.a.cloudgeni.us/events/
This uses the events calendar plugin.
September 24, 2016 at 12:28 am #1188854Hello There,
What should be the expected layout for the Event page? Could please give us a screenshot or illustration so that we could have an idea of how it would look like?
Thank you.
September 24, 2016 at 12:34 am #1188860expected Event style is similar to this
screenshot https://theeventscalendar.com/content/uploads/2015/08/showcase-milkwood-list-view-1000×1212.png
September 24, 2016 at 12:35 am #1188861I think my main concern is to make sensei course and lesson pages full width.
September 24, 2016 at 12:47 am #1188866Hello There,
To make sure that the Events page is fullwidth, since you already have your child theme active and ready, please insert this following code in your child theme’s functions.php file.
// Sidebars only in Events // ============================================================================= function no_sidebars_allowed($contents) { if ( is_post_type_archive('tribe_events') ) { $contents = 'fullwidth'; } return $contents; } add_filter('x_option_x_layout_content', 'no_sidebars_allowed'); // =============================================================================
Please let us know if this works out for you.
September 24, 2016 at 12:56 am #1188869Thanks. I would really appreciate your help with sensei courses and lessons pages laying out correctly.
September 24, 2016 at 1:04 am #1188877Hi there,
Since it deals with templates, I think it’s best to work on FTP. Else, any failed test would put your site down.
Thanks!
September 24, 2016 at 9:31 am #1189118This reply has been marked as private.September 24, 2016 at 11:29 am #1189166Hi There,
Please update the previous code to this:
function no_sidebars_allowed($contents) { if ( is_post_type_archive('tribe_events') ) { $contents = 'full-width'; } return $contents; } add_filter('x_option_x_layout_content', 'no_sidebars_allowed', 10);
Hope it helps 🙂
-
AuthorPosts