-
AuthorPosts
-
March 16, 2022 at 12:27 pm #1344727
Hi.
You already provided some CSS to hide those boxes on mobile.
Now I checked the same page on Edge, Website, and here they are (been working in Firefox, don’t have this issue there). Can they be hidden via CSS as well, or need I change anything?
Best regards,
RikeMarch 17, 2022 at 1:50 pm #1344883Hey UFreeman,
I tested your pages on Windows in Chrome, Firefox, & Edge and these simple-translate boxes are showing in all browsers.
They don’t seem to do anything so perhaps your best option would be to remove them, but if you want to just hide them add this css in the WordPress ▸ Customize ▸ Additional CSS field:#simple-translate { display: none; }
Please see the screenshot in the Private Content area.
Best regards,
MikeMarch 18, 2022 at 1:40 am #1344993Hey Mike,
Thank you for your answer.
I did not insert simple-translate boxes at all, would not even know where I would find them if I wanted them — so I am somewhat puzzled where they came from. Also, they do not show in my visuals or text, so I can not remove them — which I gladly would as I do not know why they are there in the first place. Only box-like things I added are those used to separate the width into thirds and halves and quarters etc., which I used to separate the page into columns which contain text or pictures. Please see my attached screenshots in the private content area showing both.
I added your script into CSS anyway, and it does remove those boxes. But since I do not need them, or so I believe, it wouldn’t mind removing them — if you can help me to find them.
Thank you, again, for your help!
RikeMarch 18, 2022 at 1:39 pm #1345067Hi,
Thanks for the feedback, I believe this might be coming from a Firefox extension Simple Translate adding to the text blocks when you copy & paste in your browser, are you using this extension? You may want to disable it when you work on your site. I looked through some of your pages and removed this code adding the un-wanted blocks<div id="simple-translate"> <div> <div class="simple-translate-button isShow" style="background-image: url('moz-extension://2568a979-4678-4b1e-bd5a-8d670de04d36/icons/512.png'); height: 22px; width: 22px; top: 83px; left: -22px;"></div> <div class="simple-translate-panel " style="width: 300px; height: 200px; top: 0px; left: 0px; font-size: 13px; background-color: #ffffff;"> <div class="simple-translate-result-wrapper" style="overflow: hidden;"> <div class="simple-translate-move" draggable="true"></div> <div class="simple-translate-result-contents"> <p class="simple-translate-result" dir="auto" style="color: #000000;"></p> <p class="simple-translate-candidate" dir="auto" style="color: #737373;"></p> </div> </div> </div> </div> </div>
If you are working in a text block element and see a white box in the preview area switch to the “text” tab and remove the code, like this:
you can also use the css above as it won’t cause any issues even if you remove all of the code from your site, it could help in the future if you miss one.Best regards,
MikeMarch 18, 2022 at 1:46 pm #1345078Hey Mike,
Thank you for your help. Indeed I do use Simple Translate, I switched it off and will try to only activate it when needed.
Weird part is, I still can not see the code or the white boxes it adds shown in your screenshots, my text and visual are clean (as shown in the screenshots I sent last night).
I’ll include your code into my own site as well as you are right, it does not do any harm, in case this problem occurs there too (did not put that much effort into checking my own site in all browsers …).
Best regards,
Rike- This reply was modified 2 years, 9 months ago by UFreeman.
March 18, 2022 at 3:38 pm #1345103Hi,
I believe you can’t see the Simple Translate boxes now because I removed them for you, above I explained how to check for them and removed them should this happen again, but if you disable the Simple Translate extension then you probably won’t see these anymore, so this should be solved.
I recommend saving a link to this topic for future reference, and shall we close this thread then?Best regards,
MikeMarch 18, 2022 at 3:46 pm #1345104Hey,
I did not see them last night either when I compared your screenshots with mine, that was before you removed them – so I understood it. It’s not all that important, as you gave me a solution anyway. I saved the link for future reference. Please go ahead and close this thread.
Thank you and best regards,
RikeMarch 18, 2022 at 6:49 pm #1345141Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Hide empty white boxes in Microsoft Edge’ is closed to new replies.