Display products in 2 colums on secondary shop page.
-
I am using the code below to display two columns on my shop page in mobile view.
But now I have created a 2nd shop page because I want to add more blocks to the shop page but found that you can’t add things to the original/assigned shop page.
My question is, how can I get this code to work on my 2nd shop page? What code do I need to add? I linked the 2nd page here. (My original shop page can be found by clicking shop in my top menu).
/* Two columns in shop view */ @media (max-width: 767px) { .wp-block-query.is-layout-flow.wp-block-query-is-layout-flow ul { display: flex; flex-wrap: wrap; } .wp-block-query.is-layout-flow.wp-block-query-is-layout-flow li { width: 45% !important; } }
The page I need help with: [log in to see the link]
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.