-
AuthorPosts
-
September 13, 2017 at 4:55 pm #1061898
Hello,
I’ve been trying to change the rollover colour for the btn-primary button, and although I can do this, there seems to be a second filter colour over the top, which I cannot seem to find where to modify.
Can someone explain where this may be, or if it’s in a jQuery document?Thanks
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 14, 2017 at 1:25 am #1061949Hi
Add below code in custom.css file and change the colour code as per needsinput.btn-primary:hover, button.btn-primary:hover, input.btn-primary:focus, button.btn-primary:focus, input.btn-primary:active, button.btn-primary:active { background: #1bbc9b; }
Regards
September 14, 2017 at 8:46 am #1062065Hello,
Thanks but I have already attempted this, there seems to be another filter colour that animates over the top, I’ve attached a screen recording.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 14, 2017 at 9:28 am #1062083Hi
Kindly share the URL of site here.Regards
September 14, 2017 at 10:19 am #1062094This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 15, 2017 at 1:50 am #1062204Hi
Kindly add the code i suggested.
I checked and found there is no custom.css file loading.Also add this code and changes the colour code
.btn-primary:after { background: #1bbc9b; }
Regards
September 18, 2017 at 4:13 pm #1062693Thanks that’s solved the issue of the background, but I cannot see where to remove the border colour when hovering?
September 18, 2017 at 4:16 pm #1062694I’ve added .btn-primary:hover { border-color: none}
But this does not workPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 19, 2017 at 2:37 am #1062766Hi
Use this code in first line of custom.css file.btn-primary:after { background: #000!important; } .btn-primary:hover, .btn-primary:focus, .btn-primary:active { background: none; border-color: #000; } button.btn-primary:hover, input.btn-primary:focus, button.btn-primary:focus, input.btn-primary:active, button.btn-primary:active { background: #000!important; }
I tested it and its working fine.
Regards
1 user says Thank You to Pankaj Sharma for this useful post
September 22, 2017 at 9:06 am #1063530Excellent that’s worked, many thanks
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 25, 2017 at 1:51 am #1063731You are welcome!
AuthorPostsViewing 11 posts - 1 through 11 (of 11 total)This topic contains 10 replies, has 2 voices, and was last updated by Pankaj Sharma 7 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Button rollover colour
Viewing 11 posts - 1 through 11 (of 11 total)