abeonboard Posted November 5, 2021 Share Posted November 5, 2021 Site URL: https://www.hdh.fi/verkkokauppa-testi Hi there! I have a nice row of product pictures on desktop but on mobile all the pictures disappear!? If I increase the image size this does not happen... Can anyone help? Link to comment
tuanphan Posted November 7, 2021 Share Posted November 7, 2021 Try adding to Design > Custom CSS @media screen and (max-width:767px) { div#block-yui_3_17_2_1_1635755049107_3901+.row .image-block { width: 80px; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
abeonboard Posted November 8, 2021 Author Share Posted November 8, 2021 This is how it looks now! How could I make the mobile show in row of 2's. (Two pictures side by side instead of three)? Thanks so much! Great progress so far!! Link to comment
abeonboard Posted November 8, 2021 Author Share Posted November 8, 2021 It seemed to work just by increasing the width to 140px. Is there even a better way to do auto width for perfect row's? If not then thank you so much!! I'll try to figure out how to align center meanwhile because the width now will leave empty space to the right dpeending on the mobile phone used. Best, Abe Link to comment
abeonboard Posted November 8, 2021 Author Share Posted November 8, 2021 (edited) I added the following and got only the first row to behave like I imagined. Still need to work on this. Would you have suggestions? #block-yui_3_17_2_1_1635755049107_3901+.row .image-block { width: 140px; } .row .sqs-row{ width: fit-content !important; margin:auto !important; } Edited November 8, 2021 by abeonboard Link to comment
abeonboard Posted November 8, 2021 Author Share Posted November 8, 2021 The problem continues! I am trying to replicate this to the LIVE store and nothing shows up?? Can you spot the issue? URL: hdh.fi/verkkokauppa Link to comment
abeonboard Posted November 9, 2021 Author Share Posted November 9, 2021 It seems to work now! Thanks so much for this!! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment