I have the following code:
<div style="" class="skiptranslate"> <iframe frameborder="0" style="visibility:visible" src="javascript:''" class="goog-te-banner-frame skiptranslate" id=":2.container"></iframe> </div>
I need to hide it, but if I just hide the goog-te-banner frame using:
.goog-te-banner-frame { display:none !important }
He still throws my headline down. If I use this:
.skiptranslate { display:none !important }
It also hides the language selection drop-down list, as it has one class. I would like to hide the skiptranslate div, which contains the goog-te-banner frame.
How to do it?
Edit: This is the actual code to โcreateโ the above div:
<div id="google_translate_element"></div> <script type="text/javascript"> function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, autoDisplay: false, includedLanguages: ''}, 'google_translate_element');} </script> <script type="text/javascript" src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
source share