Any Help is much appreciated. I have managed to remove the wishlist and compare buttons from the mobile site version, and spanned the buy it now icon to the full width, instead of 1/3 of the width. I just can't figure out how to add the text "Add to Cart" alongside the Icon, like in the desktop version of the site, now that there is enough space for it after removing the compare and wishlist buttons.
Any help is gratefully received.
Code: Select all
<button type="button" onclick="cart.add('<?php echo $product['product_id']; ?>', '<?php echo $product['minimum']; ?>');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $button_cart; ?></span></button>
But if you already removed the other two Values/lines, just placed below this Code Line 131, it may not matter.
<span class="hidden-xs hidden-sm hidden-md">
PS. You could try to just make an empty <span><?php echo $button_cart; ?></span> out of it!
add_to_cart_code_203.jpg (73.49 KiB) Viewed 247 times
For Sale: Top URL's, including an OpenCart V-Pro Installation!
A wide range of available Site Designs can be seen here: http://www.opencart.li
For more Information on URL's offered, please contact me at: firstname.lastname@example.org
380+ free Extensions for OpenCart v.1.5.x - v.2.3.x Versions
can be found in my Github Repositories: https://github.com/IP-CAM
Users browsing this forum: No registered users and 42 guests