change default button color dark suffix

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Aug 20, 2013 3:36 pm
Reply with quote
Report this post
Hello,

Here me again with a small point of attention.

Image

i Would like the button in a module with the dark suffix to have this #ff7e57 color as default. (because the default color of #000 is not visible right?)

So i tried this in (templates/gk_storebox/css/template.css):

.box.dark button:hover,
.box.dark .button:hover,
.box.dark input.button:hover,
.box.dark span.button:hover,
.box.dark button.button:hover,
.box.dark div.button:hover,
.box.dark input[type="submit"]:hover,
.box.dark input[type="button"]:hover,
.box.dark .pagenav-prev a:hover,
.box.dark .pagenav-next a:hover,
.box.dark .readon:hover,
.box.dark #gkMainbody .itemReadMore:active,
.box.dark #gkMainbody .itemReadMore:focus,
.box.dark #gkMainbody .itemReadMore:hover,
.box.dark #gkMainbody .readmore > a:active,
.box.dark #gkMainbody .readmore > a:focus,
.box.dark .button, {
background: #ff7e57!important;
}

However, think iam doing something wrong. Someone can help me out with this?

Thanks in advance,

M
User avatar
Senior Boarder

GK User
Tue Aug 20, 2013 4:00 pm
Reply with quote
Report this post
Could You please post an url to your site?
User avatar
Moderator

GK User
Tue Aug 20, 2013 4:08 pm
Reply with quote
Report this post
http://fighttobefit.nl/ (open for view for 10 mins)
User avatar
Senior Boarder

GK User
Tue Aug 20, 2013 4:11 pm
Reply with quote
Report this post
Please edit: /templates/gk_storebox/css/override.css and add at its end:
Code: Select all
button, .button {
background: #F00;
}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Tue Aug 20, 2013 4:13 pm
Reply with quote
Report this post
But that changes all the buttons right? I only need the buttons to change at the dark suffix.
User avatar
Senior Boarder

GK User
Tue Aug 20, 2013 4:15 pm
Reply with quote
Report this post
added .dark.box before. Now its working, thx
User avatar
Senior Boarder

GK User
Wed Aug 21, 2013 3:43 pm
Reply with quote
Report this post
I was 100% sure, I have already written back with corrected css.
Adding .dark.box was exactly what You needed to do.
User avatar
Moderator


cron