Posted: August 25, 2022 at 4:00 am
Hi there, I have a page where people come to register for courses. A lot of the time we notice they are using their phone. A long time ago we had a ticket about the ESPRESSO_EVENTS_TABLE_TEMPLATE tag seeming to randomly break right, and it continues to do that. It’s a big deal because customers have been reporting to us that they have to struggle to register on the website as a lot of them can’t read “Register” on each of the events. I have attached a screenshot at this link on my Google Drive. The way my tag is coded now is on a Text Block:
Can you help me figure out what to change in order that this table won’t break out of the screen, even on small iphones? Thanks in advance, it means a lot to our family. |
|
Hi there, So currently the only way you’ll be able to prevent the above is to either reduce the size of the fields or hide one of them. For example, you can use some CSS to hide the spaces remaining column on smaller screens, something like this:
Add that to Appearance -> Customize -> Additional CSS. That looks something like this: https://monosnap.com/file/32Ddgb3Cy6ceR4Yv0I8hwUMFnhyQy0 Does that work for you? The other option is to reduce the text size of all the fields, however, it does become harder to read that way. |
|
Hi Peter, Thanks for contacting us in our email. I checked your website and you should try the same CSS code provided by Tony, but add the !important rule that will overwrite other codes that prevent it from working. Please, go to the Appearance > Customize > Additional CSS
It should look like this:https://share.cleanshot.com/Zo6Cw8 |
|
Thanks guys for the code. I applied the new code, but the problem now is that my partner informed me that it’s more important for us to show the “number of remaining spots” column instead of the “date” column for upcoming courses. I know it only happens in instances with a small screen size, but we always include the date of courses in the name of the course (column) anyways. Thanks in advance. |
|
That’s easy enough to fix in the above code, change this:
To be:
So:
When testing this I didn’t need |
|
The support post ‘ESPRESSO_EVENTS_TABLE_TEMPLATE always "breaking right" on iOS’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.