Posted: June 8, 2023 at 12:44 pm
Hi there, I’ve just upgraded the MER plugin to the latest version – 2.0.20 and it seems to have had a knock on effect on the layout of (a) the adding to cart confirmation screen and (b) the cart itself. Here are some screenshots of before and after as viewed on a mobile device: https://photos.app.goo.gl/qsiXSZUPd4aAVd4z6 (The layout issues on desktop are very similar). Is this a known issue and is there an easy way for my developers to fix it please? Thanks Daniel |
|
p.s. you can have a play with this yourself to see the layout issues at: https://staging4.presencetraining.co.uk/ Curent live site (where no such issues are occurring) is at https://presencetraining.co.uk/ |
|
Hi Daniel, The screenshot link above only has one image, can you add the other so I know what I am comparing against please? |
|
Hi Tony, I’m sorry. I thought I shared the album with you. The photo I previously shared was how it is meant to lay out. This is how it’s currently laying out: https://photos.app.goo.gl/Wj8xk4M3kWkRqRRa7 For the confirmation screen this is how it should lay out: https://photos.app.goo.gl/j8822CXiA4Fsdz799 And this is how it’s currently laying out: https://photos.app.goo.gl/CMvciHUGCgiqWZ17A These are the mobile screenshots, but the issues on desktop are very similar. |
|
And this is how the cart should lay out on desktop: https://photos.app.goo.gl/JdUkdgP6kG4rWePW6 And how it’s currently laying out: |
|
It’s not terrible, but it looks rather messy and unprofessional and I’m concerned that customers might have less confidence in their potential purchase as a result. |
|
Hmmm, so part of this is from your theme and the other is from the changes we’ve made to the output. The cart view has been changed to be clearer as to which tickets apply to which events and it looks like this: https://monosnap.com/file/CGkOgfMgEIQjrtDNqxwN3Ta8zPIxzJ That’s not as obvious on your site because the table is set to have no borders so the different sections don’t stand out as much. I assume the padding, spacing issue where the columns are all close together is one of the biggest issues? To fix that you can use something like:
The buttons can be made to be more like the originals by adding this:
Add those to Appearance -> Customize -> Additional CSS and see how that looks, you can change the value however you prefer. |
|
Thank you for this! Does this solve the issue with the alignment on the screen where new items are added? See: https://photos.app.goo.gl/rksU49Pq1SQhigjh7 (mobile) and |
|
No, for that try:
|
|
Thanks Tony. Will that fix deal with both (a) the (mis)position of the text within the buttons and (b) the fact that the buttons in the cart-results are themselves out of alignment? Because these appear to be slightly different issues – though perhaps they are connected. |
|
In fact the text position inside the buttons looks fine on mobile, although the buttons are not in lime with each other. But on desktop the text is not positioned well within the buttons and the buttons are also out of alignment. So will your fix above solve both these issues or is some other code needed? Thank you |
|
Yes, the text alignment is because there is no padding, the above adds some. The button alignment is because they are using However, you would be best testing this on the site itself as something else may be starting those fields. I’ve used Chrome Dev Tools to test the above on your site but always bet to test it regardless. |
|
Thank you so much Tony! I’ve passed this on to my web developers. I’m very grateful for your help here. And I’ll let you know how we can on. |
|
You know you can easily add this into the site yourself? Dashboard -> Appearance -> Customize -> Additional CSS. Like this: https://monosnap.com/file/XLzMc0cs4fMJ2KrWH2uwydzhzMnE6K |
|
Hi Tony, Thank you so much for this. The suggested CSS has been added and it’s completely sorted out the alignment of the buttons on the confirmation of adding screen, which is great! The cart still looks like this: https://photos.app.goo.gl/GxoVm3RUHVGzHzQ69 Which isn’t ideal as a layout as it looks a bit squashed. Is there any way we can get a bit more space between the price and total columns? Was your suggested CSS intended to do that? |
|
Did you add the code from above: I can’t see that CSS in use on the site? |
|
Hi Tony, I thought I saw the code as you drafted it the custom CSS, but somehow my developers mis-transcribed it and introduced some extra characters, meaning that the code (presumably) didn’t run as intended! I’ve now copied and pasted your code correctly and it appears to be working! Thank you!!! |
|
No problem, I’m glad its working for you 🙂 |
|
Hi Tony, There are two (or three) more cart and checkout issues that I’d really appreciate your help with. They all relate to how the cart and checkout appear on mobile and tidying this up if possible. 1) Wrapping the title into the left hand column Please see these two images of the cart and checkout: https://photos.app.goo.gl/ro5FMF8KftAXBoWR7 You can see that the event title in bold is going right across the page and making the layout look untidy. I’d love for it to be confined to left hand column, the way that the description is. I’m sure this can be done. What’s the easiest way please? Is it something I can do myself? Does it require changes via a custom plugin? 2) Padding on the checkout You can see in the image I’ve shown you of the checkout QTY is banging up against Price and the £ sign is banging up against the letter “l” of “Total” Is there an easy way to pad this table with some space so that doesn’t occur? I’m guessing it’s a bit more additional CSS? Thank you Daniel |
|
There is no ‘left hand column’ on that row so you can’t easily set that text to a specific with, the layout is something like this:
Where the single column row is the event row and spans across the entire table width. If I add a grey border to the table on your site you can see this a little better: https://monosnap.com/file/FEFg1A26U0GGNFyM0gZcwmbXLYyVWz
That should already have been fixed with the CSS I gave you earlier. Is that code on the site? |
|
Hi Tony, Thank you for your helpful reply. For part 1 – that’s clear. I now understand that there’s no easy way of sorting this out because the row goes right across the columns. Though if I were to choose to add grid lines the layout would indeed make more sense. Would it be easy to restore the grid lines? If so how would I do it? ~ For part 2 of my question the CSS is indeed on the site and seems to be functioning fine. I think the code you gave me pads the cart but not the checkout. It’s working fine in the cart – adding that extra space and displays really well. I don’t think you gave me any extra code for the checkout. This is the code you suggested:
Is there a version of the above code that would do the same for the checkout? Take a look at this image from my mobile and you should be able to see the the issue: It’s not terrible, but it just looks rather untidy on mobile. (It’s not an issue on the desktop version of the site). |
|
On specifically the cart table? Sure, you just need some additional CSS:
Your developers can add additional styles to suit the theme for this.
Oh I see, sure:
|
|
Hi Tony, That’s really helpful. Thank you so much! The cart does make much more sense with the gridlines in place, especially on mobile. With regard to the padding the final checkout your code has helped the left hand side of the table. But “Total” is still banging up against the final price on the mobile version (£750), which is OK but not ideal. See this picture: https://photos.app.goo.gl/3dLc1aAynZ3vvuZz5 If there’s an easy fix for that I’d really appreciate it. If not, I can live with it! |
|
PS I’ve just tried adapting the code you gave above me to replace the (3) with a (4), which did work on mobile, but it knocked the alignment of the table out on desktop! i.e.
I’m guessing that there isn’t an easy way of solving this one, but do let me know if I’m wrong. Like I said I can live with it being as it is on mobile, but if it can be sorted out that would be really nice. |
|
Ah, apologies, I missed the total column, for that you can add::
That work better? |
|
Thank you Tony! Yes, that does work better! |
|
I’m very grateful for all your help across this and all our recent development issues. |
|
Hi Daniel, My pleasure, I’m glad I could help in some small part 🙂 |
|
The support post ‘MER (Multi Event Registration) upgrade causing layout issues’ 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.