quantity-controls button
Rate this topic: 




1.00 out of 6 based on 1 vote(s)






- GK User
- Mon Jan 19, 2015 1:55 pm
- Reply with quote
- Report this post
Hi guys, my quantity-controls buttons for my featured product section are black with white + and - yet on my featured products module the + and - aren't showing or are black.
I tried going into the advanced settings of the module to chage the CSS color but no luck..
I'm new to editing the CSS and the CSS override is enabled as I can make the background colour disappear everytime I enter any code..
Any help is much appreciated!
I tried going into the advanced settings of the module to chage the CSS color but no luck..
I'm new to editing the CSS and the CSS override is enabled as I can make the background colour disappear everytime I enter any code..
Any help is much appreciated!
feat2.PNG
quantity-controls.png
-
- Senior Boarder
- teitbite
- Tue Jan 20, 2015 11:48 am
- Reply with quote
- Report this post
Hi
I've asked for Your site's url already regarding Your other question, here I will need it as well. The exact url to the place where You've made the screenshot would be best.
I've asked for Your site's url already regarding Your other question, here I will need it as well. The exact url to the place where You've made the screenshot would be best.
-
- Moderator
- GK User
- Tue Jan 20, 2015 4:21 pm
- Reply with quote
- Report this post
I had placed the www.hydromarket.co.uk link on the other question Teitbite? You responded stating you had looked at the site.
Sorry for forgetting to post it here.. Here it is.
http://www.hydromarket.co.uk
Sorry for forgetting to post it here.. Here it is.
http://www.hydromarket.co.uk
-
- Senior Boarder
- teitbite
- Thu Jan 22, 2015 5:49 pm
- Reply with quote
- Report this post
Hi
Sorry, when I have to many questions to answer I do not look at username.
Add this to /layout/blocks/head.php
Sorry, when I have to many questions to answer I do not look at username.
Add this to /layout/blocks/head.php
- Code: Select all
<script type="text/javascript">(function($) {$(document).ready(function() {
$('.quantity-controls').each(function(){
$(this).find('.quantity-plus').attr('value','+');
$(this).find('.quantity-minus').attr('value','-');
});
});})(jQuery)</script>
-
- Moderator
- GK User
- Fri Jan 23, 2015 2:48 am
- Reply with quote
- Report this post
Perfect only the size does not match the original, it is very difficult to tell the + from the -
The original looks much better..
Thanks.
The original looks much better..

Thanks.
-
- Senior Boarder
- teitbite
- Fri Jan 23, 2015 9:14 pm
- Reply with quote
- Report this post
Please add this code to override.css and make sure override is enabled in template settings.
- Code: Select all
.quantity-controls .quantity-plus,
.quantity-controls .quantity-minus {
font-size: 25px;
}
-
- Moderator
- GK User
- Sun Jan 25, 2015 12:33 am
- Reply with quote
- Report this post
Perfect, as always, I'm getting used to this Override CSS now, thanks to you..
Regards, Jay.
Regards, Jay.
-
- Senior Boarder
7 posts
• Page 1 of 1