Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #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
    Rob

    #744030

    Hey 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,
    Andy

    #744482

    Yes 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
    Rob

    #745486

    Hi,

    well, add a widget element on a test page. Then send us a precise link, so we can give you further information.

    Best regards,
    Andy

    #745556

    Hi 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
    Rob

    #746422

    Hi,

    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,
    Andy

    #746600

    Hi Andy I have changed the password. See below.
    Thanks
    Rob

    #747053

    Hi,

    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,
    Andy

    #747098

    Hi 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
    Rob

    #748465

    Hi,

    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,
    Andy

    #748558

    Sorry 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
    Rob

    #749348

    Hi,

    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,
    Andy

    #749900

    Hi 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.”
    Thanks

    #750049

    Hi,

    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,
    Andy

    #750529

    Are 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
    Rob

    #752762
    #752985

    Brilliant! Thanks Ismael. That works great.

Viewing 17 posts - 1 through 17 (of 17 total)
  • You must be logged in to reply to this topic.