0

How do I remove the dark hover effect on the following embedded twitter widget?

<a class="twitter-timeline" href="https://twitter.com/AV_Afrique" data-chrome="noheader nofooter transparent" data-theme="dark" data-tweet-limit="1" data-border-color="#272727">Tweets by AV_Afrique</a>
<script async src="//platform.twitter.com/widgets.js"
charset="utf-8"></script>

JsFiddle here: https://jsfiddle.net/mkc51zsc/

methuselah
  • 12,766
  • 47
  • 165
  • 315

1 Answers1

0

Override the

.timeline-Tweet:hover {
    background-color: rgba(24,50,35); 
}

with

.timeline-Tweet:hover {
    background-color:transparent; 
}

Implementation

Option 1) Wrap your link inside an element with unique Id e.g.

HTML

<div id="myId">
 <a>..twitter stuff </a>
</div>

CSS

 #myId .timeline-Tweet:hover {
        background-color:transparent; 
    }

Option 2) Ugly fix

.timeline-Tweet:hover {
        background-color:transparent !important; 
    }
m1l3n4
  • 66
  • 1
  • 2