-
AuthorPosts
-
February 2, 2017 at 5:49 pm #741934
Hi
After enabling Sidebar on Smartphones in Sidebar Settings is it possible to have the sidebar show at the top, before the products.
I am building a shop where the customer selects their Tractor model first. They then need to select a parts type from the sidebar. They will not see it if they have to scroll through all the products first.
Thanks
RobFebruary 7, 2017 at 7:14 pm #744030Hey fanlokbun,
would be quite difficult with this approach. Instead you could try to work with a widget element from ALB, which you show on mobile devices only. Would that work for you?
Best regards,
AndyFebruary 8, 2017 at 8:39 pm #744482Yes good idea! A widget at the top of the page with the same as the sidebar would work as long as it only shows when the sidebar gets hidden. Can you advise the procedure for that?
Thanks
RobFebruary 10, 2017 at 4:43 pm #745486Hi,
well, add a widget element on a test page. Then send us a precise link, so we can give you further information.
Best regards,
AndyFebruary 10, 2017 at 7:14 pm #745556Hi Andy
I have created a page with a widget in a color section at the top and given it an ID of ‘mobilemenu’. The color section below has an ID of ‘conent’ for testing purposes.
http://fordtractorsales.co.uk/robs-mobile-test-page/
The widget is a copy of the Shop Overview Page sidebar so alongside a search box and a back button it has 6 Woocommerce Layered Nav widgets with the 6 Attributes. The Attributes menu does not show any content on the test page because it only shows attributes available for the category (tractor) page it is on. (e.g. http://fordtractorsales.co.uk/product-category/1000-series/2000/)
I have enabled sidebar on the page but it is showing below the content for some reason.
I have disabled the Sidebar on Smartphones In the Theme Options.Many thanks
RobFebruary 13, 2017 at 2:57 pm #746422Hi,
I tried to troubleshoot this issue but the login credentials you provided do not work for me. Would you mind checking once again and then send us working login credentials?
Best regards,
AndyFebruary 13, 2017 at 8:17 pm #746600Hi Andy I have changed the password. See below.
Thanks
RobFebruary 14, 2017 at 7:07 pm #747053Hi,
so use this code inside Quick CSS field:
@media screen only and (min-width: 1200px) { #mobilemenu { display: none; }}
Adjust the media queries as needed.
Best regards,
AndyFebruary 14, 2017 at 8:55 pm #747098Hi Andy,
How do I add the widget to the top of the default products page? If you remember it is there that I need to show a widget with the same content as the sidebar. Your CSS code will only work on the test page you asked me to create.
Thanks
RobFebruary 17, 2017 at 2:53 pm #748465Hi,
it will work everywhere where you’ve add a widget inside your color section, like in your /robs-mobile-test-page. Don’t forget to use “mobilemenu as custom css class everywhere.
Best regards,
AndyFebruary 17, 2017 at 5:53 pm #748558Sorry Andy. I am being dense. How do I add a color section to the default products page.This is an example of the page it needs to be on: http://fordtractorsales.co.uk/product-category/10-series/2610/
It is not editable under Pages it is generated when you click a category (tractor). Also I don’t want it to appear on the parent category page (/10-series/ in the url above).
Thanks
RobFebruary 20, 2017 at 2:03 pm #749348Hi,
you can’t use ALB for this page, as it’s not controlled by the theme, but by WooCommerce. Refer to: https://kriesi.at/support/topic/change-a-product-category-page-layout/#post-526743
Best regards,
AndyFebruary 21, 2017 at 12:32 pm #749900Hi Andy,
Okay I now have content-product.php in a woocommerce folder in my child theme. What edit do I make to this document to achieve your suggestion:
“Instead you could try to work with a widget element from ALB, which you show on mobile devices only.”
ThanksFebruary 21, 2017 at 5:12 pm #750049Hi,
Unfortunately it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However if its really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
AndyFebruary 22, 2017 at 3:44 pm #750529Are you sure? At the beginning of this thread you said it WAS possible. I then followed a load of instructions from you. If it isn’t possible why didn’t you say that at the start and save us both a load of time.
I’ll ask the question again. Perhaps one of your colleagues might have an idea:
On a mobile device in the catalogue (tractor) page the sidebar shows at the bottom after you scroll through all the products for that category. I need it to show the sidebar or a widget at the top so they can select an attribute (parts type) from the Woocommerce Layered Nav widget first. (I cannot envisage a scenario where having the sidebar after scrolling through all the products would be of any use on mobile devices.)
Thanks
RobFebruary 28, 2017 at 7:57 am #752762Hi,
I’m very sorry for the confusion. Please follow one of these threads:
// https://kriesi.at/support/topic/enfold-mobile-mode-problems/#post-703125
// https://kriesi.at/support/topic/moving-sidebar-top-top-on-mobile-above-content/#post-737622Best regards,
IsmaelFebruary 28, 2017 at 3:37 pm #752985Brilliant! Thanks Ismael. That works great.
-
AuthorPosts
- You must be logged in to reply to this topic.