I am having trouble with the key features changing to white on scroll over. I modified the buttons but not sure why they remain grey.
www.socialpatient.com/sp3
.gkcloud > span { background: transparent url('../images/style2/gk_cloud.png') no-repeat 0 0 }
.gkcloud:hover > span { background: transparent url('../images/style2/gk_cloud.png') no-repeat 0 bottom
}
Seichinha wrote:Hi
You need to add classes on gk_style.css file. For example for gkcloud pseudo class:
- Code: Select all
.gkcloud > span { background: transparent url('../images/style2/gk_cloud.png') no-repeat 0 0 }
.gkcloud:hover > span { background: transparent url('../images/style2/gk_cloud.png') no-repeat 0 bottom
}
Cheers
.gkcloud > span { background-image: url('../images/style2/gk_cloud.png') no-repeat 0 0; }
.gkheart > span { background-image: url('../images/style2/gk_heart.png') no-repeat 0 0; }
.gksocial > span { background-image: url('../images/style2/gk_social.png') no-repeat 0 0; }
.gkreward > span { background-image: url('../images/style2/gk_reward.png') no-repeat 0 0; }
.gkcloud:hover > span { background: transparent url('../images/style2/gk_cloud.png') no-repeat 0 bottom; }
.gkheart:hover > span { background: transparent url('../images/style2/gk_heart.png') no-repeat 0 bottom; }
.gksocial:hover > span { background: transparent url('../images/style2/gk_social.png') no-repeat 0 bottom;}
.gkreward:hover > span { background: transparent url('../images/style2/gk_reward.png') no-repeat 0 bottom; }
<a class="gkcloud loaded" href="#" data-animation="flip" data-delay="0"><span>HealthCloud</span>Synced Activities</a>
<a class="gkcloud loaded" href="#" data-animation="flip" data-delay="0"><span>HealthCloud</span>Synced Activities<div class="hiddendata"><span class="arrow-up"></span>This is your custom text.</div></a>
.gkFeatures .loaded {position: relative;}
.gkFeatures .loaded .hiddendata {
visibility: hidden;
position: absolute;
left:0;
bottom: -55px;
background-color: #212323;
padding: 10px;
text-transform: none;
text-align: center;
-webkit-border-radius: 0 0 2px 2px;
-moz-border-radius: 0 0 2px 2px;
border-radius: 0 0 2px 2px;
}
.gkFeatures .loaded:hover .hiddendata {
visibility: visible;
}
.gkFeatures .arrow-up {
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid #212323;
position: absolute; top: -5px; left: 10px
}
<a class="gkcloud loaded" href="#" data-animation="flip" data-delay="0"><span>HealthCloud</span>Synced Activities
<div class="hiddendata"><span class="arrow-up"></span>This is your custom text.</div>
</a>
<a data-delay="0" data-animation="flip" href="#" class="gkcloud loaded"><span>HealthCloud</span>Synced Activities</a>
<div class="hiddendata">This is your custom text.</div>