Thursday, May 7, 2015

Mobile browser display issue

I have a problem displaying my shopping cart in a browser on mobile devices. Below is the code:


echo $this->Html->link('<span class="glyphicon glyphicon-shopping-cart"></span> Cart <span class="badge" id="cart-counter">'.$count.'</span>', array('controller'=>'carts','action'=>'view'),array('escape'=>false));



On a desktop computer the display looks like this:

In the mobile browser it looks like this:

Anybody have any idea what's going on here? Thank you!




--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: