-
AuthorPosts
-
August 18, 2020 at 9:57 am #1238752
Hello,
in standard settings from enfold -> sidebar its to bottom in mobile view.
How can i change the settings, to view the sidebar on top?The User should be use the product filter at first. Its very important.
Where can i change it in code?
Thanks a lot!August 18, 2020 at 8:47 pm #1238897Hey isarcolor,
Sidebar on top is the default behavior. Is it not like that on your end?
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaAugust 19, 2020 at 1:54 pm #1239176Hello Victoria,
but in enfold settings Theme are descript: sidebar on mobile phone shows on bottom
August 19, 2020 at 7:20 pm #1239266Hi isarcolor,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaAugust 26, 2020 at 9:26 pm #1241016Hello!
Same problem here.
Any solution?
Thank you for your help,
.florianAugust 28, 2020 at 8:45 am #1241449Hi NiLLdigital,
Please start a separate thread, describe your issue there, and give us a link to your website. Can you please point us to the page with the issue?
Best regards,
VictoriaNovember 23, 2020 at 3:56 am #1262229Hi,
Sorry for the late reply, as I understand what you would like to do on your shop page, in mobile, you want the sidebar on top, then the content.
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:@media only screen and (max-width: 767px) { #main > .container_wrap_first.template-shop.shop_columns_3 > .container { display: flex !important; flex-wrap: wrap !important; } #main > .container_wrap_first.template-shop.shop_columns_3 > .container > main { order: 3 !important; } #main > .container_wrap_first.template-shop.shop_columns_3 > .container > aside { order: 2 !important; } #main > .container_wrap_first.template-shop.shop_columns_3 > .container > header { order: 1 !important; } }
I don’t believe this will affect any other pages, but please check thoroughly.
After applying the css, please clear your browser cache and check.Best regards,
MikeDecember 4, 2021 at 11:22 am #1331531Hello Mike,
with the CSS code above, the widgets appear well before the products (and not after) on mobile.
But there is a shift of the products on the right (see the screenshot in the private content).I also have the same lag with the code: https://kriesi.at/support/topic/woocommerce-enfold-how-can-i-display-widgets-before-shop-page-content/
Thanks for your helpDecember 4, 2021 at 6:49 pm #1331549Hi,
Thank you for your question, the above css is for a single product page with a sidebar, but I didn’t find one on your site.
Your screenshot is to a shop page not a product pagehttps://dev. YourSite .com/boutique/
replace YourSite with your actual domain.
so your question is relevant to the thread you linked to and not this thread. Please note that since this is not your thread you will not see anything we write in the Private Content area, it is better to open a new thread.
But I will try to help, so the issue is that on mobile the sidebar is hidden by default and it contans left padding for the desktop version, so for mobile you need to remove the padding also, like this:@media only screen and (max-width:767px) { .responsive #top.woocommerce-shop #main .sidebar { display: block; } .responsive #top.woocommerce-shop #main .sidebar_left .content { padding-left: 0; } .responsive #top.woocommerce-shop #main .sidebar_left .sidebar { border-right-style: none; } }
For a single product page the css should be like:
@media only screen and (max-width:767px) { .responsive #top.single-product #main .sidebar { display: block; } .responsive #top.single-product #main .sidebar_left .content { padding-left: 0; } .responsive #top.single-product #main .sidebar_left .sidebar { border-right-style: none; } }
but I didn’t find one on your site to test, if this doesn’t help then please open a new thread with a link to your single product page with a sidebar so we can assist with an updated solution, this will also help future users with finding the solution.
Best regards,
MikeDecember 5, 2021 at 12:02 pm #1331589Hi Mike,
thanks, i’am going to open a new tread, because I tried your CSS, but it doesn’t solved my need.December 5, 2021 at 1:48 pm #1331594 -
AuthorPosts
- The topic ‘Woocommerce + Enfold Theme:Mobile ViewIt's possible to move Sidebar view on top?’ is closed to new replies.