-
AuthorPosts
-
pramodsahu Friend
pramodsahu
- Join date:
- May 2014
- Posts:
- 83
- Downloads:
- 219
- Uploads:
- 10
- Thanks:
- 29
- Thanked:
- 5 times in 1 posts
July 23, 2014 at 4:39 am #199904Hello Team,
Please guide me in this.
I wanted to change ‘add to cart’ button instead of icon on home & category page
http://thoomri.com/index.php/stone-works.html
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
July 24, 2014 at 5:08 am #543303Please open file: /templates/your_template_name/css/custom.css then replace this code:
.product-grid .cart .btn, .box-product .cart .btn, .ja-product-grid .cart .btn {
background: url("/components/com_mijoshop/opencart/catalog/view/theme/bookshop/image/icon-cart.png") no-repeat scroll center center #ec008c
}With:
.product-grid .cart .btn, .box-product .cart .btn, .ja-product-grid .cart .btn {
background: url("/components/com_mijoshop/opencart/catalog/view/theme/bookshop/image/icon-cart.png") no-repeat scroll 5px center #ec008c
width: 120px;
text-align: right;
}
Let me know if this helps
1 user says Thank You to Nazario A for this useful post
pramodsahu Friendpramodsahu
- Join date:
- May 2014
- Posts:
- 83
- Downloads:
- 219
- Uploads:
- 10
- Thanks:
- 29
- Thanked:
- 5 times in 1 posts
July 24, 2014 at 11:10 am #543358Hello Nazario,
Thank you, its working for home page.
In category page its not displaying properly please see screenshot attached.
like home how its displaying below price, it would be good in same way for category page.
pramodsahu Friendpramodsahu
- Join date:
- May 2014
- Posts:
- 83
- Downloads:
- 219
- Uploads:
- 10
- Thanks:
- 29
- Thanked:
- 5 times in 1 posts
July 25, 2014 at 5:09 am #543421Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
July 25, 2014 at 6:38 am #543423Please open file: /templates/your_template_name/css/custom.css then replace this code:
.product-grid .cart .btn, .box-product .cart .btn, .ja-product-grid .cart .btn {
background: url("/components/com_mijoshop/opencart/catalog/view/theme/bookshop/image/icon-cart.png") no-repeat scroll 5px center #ec008c
width: 120px;
text-align: right;
}With:
.product-grid .cart .btn, .box-product .cart .btn, .ja-product-grid .cart .btn {
background: url("/components/com_mijoshop/opencart/catalog/view/theme/bookshop/image/icon-cart.png") no-repeat scroll 5px center #ec008c
width: 120px;
text-indent: inherit;
}
.product-grid .cart, .ja-product-grid .cart {
width: 106px;
}
.product-grid .compare, .ja-product-grid .compare {
right: 106px;
}Let me know if this helps
1 user says Thank You to Nazario A for this useful post
pramodsahu Friendpramodsahu
- Join date:
- May 2014
- Posts:
- 83
- Downloads:
- 219
- Uploads:
- 10
- Thanks:
- 29
- Thanked:
- 5 times in 1 posts
July 26, 2014 at 5:11 am #543489Hi Nazario,
Thank you very much, its working. icon position need to be modified. At this moment we are shiftting demo server to permanent server, after completing i’ll check and let you know.
I’m happy your support, we are able to solve this issue.
Best Wishes.
Pramod.AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by pramodsahu 10 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum