Hi
I would like the sidebar content on the Product Overview page (which is a product filter), to be visible on a mobile device at the top of the page content.
I can make it appear with the following css but how do I get it to the top instead of the bottom?
.tax-product_cat aside {
width: 100% !important;
display: inline-block !important;
}
Many Thanks
Regards
Colin
Hi Colin,
I’m not sure if that would be possible, but send us a link to where we can see the element in question and we’ll have a closer look.
Best regards,
Rikard
Hi Rikard
link below…
Many Thanks
Regards
Colin
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 it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
Basilis
Hi Basilis
I have managed to fake it by adding the widget area to the “archive-product.php” page in my child theme and then hiding it on desktops and showing it on mobile devices. However, I realise editing the “archive-product.php” page isn’t the best way to do this.
I was just wondering if anyone knows of how to add this to the top of the “archive-product.php” page by some code in the functions.php file? Which would be better than editing the “archive-product.php” page ?
Many Thanks
Regards
Colin
Hi Colin,
You can copy the file to the child theme and this way your customizations will not be lost on an update.
Best regards,
Victoria
Hi Victoria
Ah, that is exactly what I have done, so that should be OK.
Many Thanks
Regards
Colin