P-Lato Posted April 13, 2021 Posted April 13, 2021 Site URL: https://www.patrickpilato.ca/ Hi there, I have hover effects on icons on my homepage that work great on desktop, but do not work properly on mobile. Can someone help me remove these hover effects only on mobile? And also help me center align the captions on these icons on mobile please? A. B
P-Lato Posted April 13, 2021 Author Posted April 13, 2021 2 minutes ago, P-Lato said: Site URL: https://www.patrickpilato.ca/ Hi there, I have hover effects on icons on my homepage that work great on desktop, but do not work properly on mobile. Can someone help me remove these hover effects only on mobile? And also help me center align the captions on these icons on mobile please? Hover effects not working properly need to be removed: A. Caption not centered: 2 minutes ago, P-Lato said: B Password: 123
tuanphan Posted April 14, 2021 Posted April 14, 2021 20 hours ago, P-Lato said: Caption not centered: Password: 123 It looks fine here. Did you solve problem?Also, the tablet... 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!)
P-Lato Posted April 14, 2021 Author Posted April 14, 2021 2 hours ago, tuanphan said: Yes I was finally able to make some code to remove the hover and center the captions for mobile. Can you help me to make these icons correct on the tablet view please? www.patrickpilato.ca password: 123
tuanphan Posted April 14, 2021 Posted April 14, 2021 2 hours ago, P-Lato said: Yes I was finally able to make some code to remove the hover and center the captions for mobile. Can you help me to make these icons correct on the tablet view please? www.patrickpilato.ca password: 123 Add to Design > Custom CSS /* Tablet home icons */ @media screen and (max-width:991px) and (min-width:768px) { div#block-yui_3_17_2_1_1618200791223_22986+.row>.span-1:not(:first-child) { width: 25%; } div#block-yui_3_17_2_1_1618200791223_22986+.row { display: flex; justify-content: center; flex-wrap: wrap; } div#block-yui_3_17_2_1_1618200791223_22986+.row .span-1:first-child, div#block-yui_3_17_2_1_1618200791223_22986+.row .span-1:last-child { display: none; } } 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!)
P-Lato Posted April 14, 2021 Author Posted April 14, 2021 1 minute ago, tuanphan said: Add to Design > Custom CSS /* Tablet home icons */ @media screen and (max-width:991px) and (min-width:768px) { div#block-yui_3_17_2_1_1618200791223_22986+.row>.span-1:not(:first-child) { width: 25%; } div#block-yui_3_17_2_1_1618200791223_22986+.row { display: flex; justify-content: center; flex-wrap: wrap; } div#block-yui_3_17_2_1_1618200791223_22986+.row .span-1:first-child, div#block-yui_3_17_2_1_1618200791223_22986+.row .span-1:last-child { display: none; } } That looks beautiful thank you so much!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.