Voucher Banner is Covering the Mini Cart (z index)
Issue Overview
When certain HTML widgets are used, the z index, or display order, isn’t correct. When this occurs, the voucher banner appears on top of the mini cart. This can happen with the voucher banner for resorts that may add the voucher functionality later on.
Solution Options
There are two ways to correct this:
Add an additional widget that places the mini cart z index above everything else.
Swap an existing widget at the top of the list with your voucher banner widget so the voucher banner is listed on page one.
NOTE: You can do one or the other, both are not necessary. As always, please make these changes in your test site and confirm the expected behavior before making the change in production.
Detailed Configuration
Method One: Add an additional widget that places the mini cart z index above everything else.
Refer to the HTML Configuration Guide
Click Add new HTML Widget
Name: Minicart Banner z-index Fix
Source Code (NOTE: the top pixel amount may need to be adjusted for your theme):
<style> .vouchers-enabled #mini-cart { top: 58px; position: absolute; z-index: 1000; } </style>
Widget Zone: body_start_html_tag_after
Click Save
Clear cache
Method Two: Swap an existing widget at the top of the list with your voucher banner widget
Find a temp or CSS widget on page 1 of your HTML widget list
Create a new Html Widget and copy the name, source code, and widget zone of the one you found in step 1
Edit the original HTML widget, from step 1, and change all the info to be the Voucher Banner widget. Detailed setup can be found in the HTML Configuration Guide.
Delete the old voucher banner widget if it exists lower on the list
Clear cache
Screenshots
BEFORE:
AFTER: