Hiding Google Translate Bar

Hiding Google Translate bar

Ok, this works for some reason:

.goog-te-banner-frame.skiptranslate {
display: none !important;
}
body {
top: 0px !important;
}

Can I disable the google translate bar via userchrome?

As Mr Lister stated in the comments, it's gotta be in the userContent.css (in the same chrome folder, though).

Adding

body > .skiptranslate {
display: none;
}

there, as posted in Hiding Google Translate bar, hid the translate bar without any (immediately noticeable) issues.

How to disable google translator plug in and set margin-top: to 0px for body element?

Try
body{top:0 !important;}
in your css

Disable Chrome translation bar on my website

Insert this to the head section of your web page.

<meta name="google" content="notranslate">

Source: Meta tag that Google understand - Search Console Help



Related Topics



Leave a reply



Submit