jache Posted April 23, 2022 Share Posted April 23, 2022 Looking for a code that can either make my events on desktop center on the screen when thumbnails aren't being used or have the title of the events shift over so they aren't under the date tags on mobile view. I like the look of my site when the events on desktop have 'show thumbnails' selected but then not having any thumbnail displayed. Only problem with that is on mobile the event title is partly underneath the date tag on mobile view. So ideally a code to shift the title over a bit to the right on mobile would be the best but if not then a code to shift the events on desktop to center of the screen when no thumbnails are selected. Thanks Link to comment
tuanphan Posted April 24, 2022 Share Posted April 24, 2022 Hi, Can you share link to page in screenshot? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
jache Posted April 27, 2022 Author Share Posted April 27, 2022 https://rebelgrace.net/schedule Link to comment
tuanphan Posted April 30, 2022 Share Posted April 30, 2022 On 4/27/2022 at 11:41 PM, jache said: https://rebelgrace.net/schedule Add to Design > Custom CSS /* event on desktop */ .eventlist.eventlist--upcoming { max-width: 40% !important; margin: 0 auto; } /* event on mobile */ @media screen and (max-width:767px) { .eventlist.eventlist--upcoming { max-width: 100% !important; } .eventlist-column-date { float: left !important; width: 40% !important; } .eventlist-column-info { width: 60% !important; float: left !important; margin-top: 0 !important; } h1.eventlist-title { font-size: 20px !important; }} Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Yenna Posted May 3, 2022 Share Posted May 3, 2022 Hi. I would like to centre the title and date/hour of the event but I haven't managed to do it 😞 I tried the code above but it doesn't seem to work 😞 https://www.comeon.business/group-classes-1 Link to comment
tuanphan Posted May 5, 2022 Share Posted May 5, 2022 On 5/3/2022 at 5:10 PM, Yenna said: Hi. I would like to centre the title and date/hour of the event but I haven't managed to do it 😞 I tried the code above but it doesn't seem to work 😞 https://www.comeon.business/group-classes-1 Use this CSS ul.eventlist-meta.event-meta * { text-align: center !important; } h1.eventlist-title { text-align: center; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
jache Posted May 9, 2022 Author Share Posted May 9, 2022 On 4/30/2022 at 3:41 AM, tuanphan said: Add to Design > Custom CSS /* event on desktop */ .eventlist.eventlist--upcoming { max-width: 40% !important; margin: 0 auto; } /* event on mobile */ @media screen and (max-width:767px) { .eventlist.eventlist--upcoming { max-width: 100% !important; } .eventlist-column-date { float: left !important; width: 40% !important; } .eventlist-column-info { width: 60% !important; float: left !important; margin-top: 0 !important; } h1.eventlist-title { font-size: 20px !important; }} Worked for me. Thank you! tuanphan 1 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