onebrowncow Posted June 27, 2015 Posted June 27, 2015 Anyone know what or how these lovely green added to basket banners are generated?I've lost them in my custom template with just a semi-transparent white box appearing and I can't work out what code I may have changed to stop them appearing correctly. Any hints much appreciated The screen shot is from the same install using the default skin so I know it is not a core file issue and must be something I've left out of the custom skin I've been working on.Thanks in advance Quote
bsmither Posted June 27, 2015 Posted June 27, 2015 This specific visual item is found in the template file box.basket.php. This template has a block of code called the "mini-basket".The mini-basket has two parts, one to show on medium and larger devices, and one to show on small devices.Of the part to show on small devices, there are two div blocks: the icon that represents the tap-button to show the basket contents, and the banner to show something was added to the basket - normally hidden.<div class="hide panel radius small-basket-detail-container js_fadeOut" id="small-basket-detail"><i class="fa fa-check"></i> {$LANG.catalogue.added_to_basket}</div>"with just a semi-transparent white box appearing"In your custom template, you may not have copied over the CSS for the Mini Basket found in cubecart.css. Quote
onebrowncow Posted June 27, 2015 Author Posted June 27, 2015 Thanks bsmither. I checked both of those files and all was present and correct but the css hint got me thinking.I set a default background color of white for class .panel to remove the background color on panels site wide and that is what has done me in!Thanks again for all your help, much appreciated. Quote
onebrowncow Posted June 27, 2015 Author Posted June 27, 2015 changing the css class to form.panel {background-color:#fff;} gives me the result I was after and restores the missing added visual. Case solved! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.