• Resolved kristincali

    (@kristincali)


    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)
  • Thread Starter kristincali

    (@kristincali)

    Bumping because I still need help. Anybody know what code I can add to display my products in 2 columns on my 2nd shop page? (linked above)

    rodicaelena

    (@rodicaelena)

    Hi,

    Each page has a unique class https://vertis.d.pr/i/oN5dAk, which you can use if you want to write code specific to just that page.

    Hope this helps.

    Regards,

    Rodica

    Thread Starter kristincali

    (@kristincali)

    Thanks. I tried inspecting the code and writing my own. Nothing seems to take effect so I think there’s something I’m missing.

    Hi,

    I’m sorry for that, but we are not offering support for custom code on the wordpress.org forum.

    Hope you understand.

    Kind regards!

    Thread Starter kristincali

    (@kristincali)

    Hmmm, I’ve received code countless times in the forums, including the code I pasted above.

    Then let me change my question:

    On my shop page, how can I add additional blocks? Such as a subscription form or reviews, below my products? Whatever I add to the shop page does not show up on my live site. I think I read somewhere that you can’t add things to the shop page but that seems silly since the editor lets you.

    Hi,

    At the moment, unfortunately there is no way of adding additional blocks on the Shop page.

    I’ve added this a feature request https://github.com/Codeinwp/riverbank/issues/61

    Have a lovely day!

    Thread Starter kristincali

    (@kristincali)

    Thank you

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