two columns in mobile

Home Forums Legacy Support Support queries Styling issues two columns in mobile

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #252323
    kamhang
    Participant
    In woocommerce, how can i set 1.category page shows two columns in mobile 2.sub-category page shows two columns in mobile 3.tag page shows two columns in mobile
    #252495
    Diana
    Participant
    @kamhang, Please share the pages link here so that we can share site specific CSS if possible
    #252511
    kamhang
    Participant
    This reply has been marked as private.
    #252783
    Diana
    Participant
    This reply has been marked as private.
    #252791
    kamhang
    Participant
    This reply has been marked as private.
    #253178
    Diana
    Participant
    @kamhang, Okay, so you are not creating any page. Then Please try this Custom CSS @media(max-width:600px){ .archive.woocommerce-page ul.products{ display: grid; grid-template-columns: auto auto auto; } } looks like this: https://prnt.sc/s3a924
    #253231
    kamhang
    Participant
    Hi Diana, I tried, as the screen you posted, it shows two columns in first row and  three columns in second row. Any idea how to set ALL rows to two columns?
    #253731
    Diana
    Participant
    @kamhang, Then this will work instead of above one @media(max-width:600px){ .archive.woocommerce-page ul.products{ display: flex; flex-wrap: wrap; } .archive.woocommerce-page ul.products li{ flex: 1 1 80px !important; } } refer: https://prnt.sc/s4jwwk
    #253746
    kamhang
    Participant
    Hi Diana, I added, still no luck. would you please check again.
    #253919
    Jackson
    Blocked
    Hello @kamhang, Please go to wplms >>footer>>google analytics code and paste this code here this will work definitely:   <style> @media(max-width:600px){ .archive.woocommerce-page ul.products li{ display: grid !important; grid-template-columns:1fr 1f !important; width:50% !important; position:relative !important; float:left !important; } } </style> Thanks,
    #254039
    kamhang
    Participant
    Hi Jackson, It works, you can close this thread. Thanks
    #254247
    Diana
    Participant
    @kamhang, Thanks on his behalf. Closing this thread
Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘two columns in mobile’ is closed to new replies.