Monday, 21 November 2016
  2 Replies
  1.3K Visits
0
Votes
Undo
Hello l want use color tabs et text color differents of colors defaults : how can do it ?
http://awesomescreenshot.com/09c66qoc32
Monday, 21 November 2016 20:35
·
#179048
Accepted Answer
0
Votes
Undo
Hello,

This is controlled with CSS that you added from here:

https://www.jevents.net/docs/item/how-to-replicate-the-activities-tabbed-events-module

See the bit:


.moduletabs_title li:first-child background-color:#E9E944}
.moduletabs_title li:nth-child(2){background-color:#E08FE0 !important;}
.moduletabs_title li:nth-child(3){background-color:#fc0 !important;}
.moduletabs_title li:nth-child(4){background-color:#5E7DDF !important;}
.moduletabs_title li:nth-child(5){background-color:#C55B5B !important;}
.moduletabs_title li:nth-child(6){background-color:#4DB14D !important;}
.moduletabs_title li.active:hover:first-child{background-color:#E9E944 !important;}
.moduletabs_title li.active:hover:nth-child(2){background-color:#E08FE0 !important;}
.moduletabs_title li.active:hover:nth-child(3){background-color:#fc0 !important;}
.moduletabs_title li.active:hover:nth-child(4){background-color:#5E7DDF !important;}
.moduletabs_title li.active:hover:nth-child(5){background-color:#C55B5B !important;}
.moduletabs_title li.active:hover:nth-child(6){background-color:#4DB14D !important;}


It's setting the color:

first-child is first tab
nth-child(2) is the second tab

where it says: active:hover:nth-child it the same principle but set to show when your mouse hovers over it.

Many thanks
Tony
Monday, 21 November 2016 20:35
·
#179048
Accepted Answer
0
Votes
Undo
Hello,

This is controlled with CSS that you added from here:

https://www.jevents.net/docs/item/how-to-replicate-the-activities-tabbed-events-module

See the bit:


.moduletabs_title li:first-child background-color:#E9E944}
.moduletabs_title li:nth-child(2){background-color:#E08FE0 !important;}
.moduletabs_title li:nth-child(3){background-color:#fc0 !important;}
.moduletabs_title li:nth-child(4){background-color:#5E7DDF !important;}
.moduletabs_title li:nth-child(5){background-color:#C55B5B !important;}
.moduletabs_title li:nth-child(6){background-color:#4DB14D !important;}
.moduletabs_title li.active:hover:first-child{background-color:#E9E944 !important;}
.moduletabs_title li.active:hover:nth-child(2){background-color:#E08FE0 !important;}
.moduletabs_title li.active:hover:nth-child(3){background-color:#fc0 !important;}
.moduletabs_title li.active:hover:nth-child(4){background-color:#5E7DDF !important;}
.moduletabs_title li.active:hover:nth-child(5){background-color:#C55B5B !important;}
.moduletabs_title li.active:hover:nth-child(6){background-color:#4DB14D !important;}


It's setting the color:

first-child is first tab
nth-child(2) is the second tab

where it says: active:hover:nth-child it the same principle but set to show when your mouse hovers over it.

Many thanks
Tony
Tuesday, 22 November 2016 02:13
·
#179063
0
Votes
Undo
thansk you very much i undersand it is very simple
  • Page :
  • 1
There are no replies made for this post yet.