(WordPress)- How to solve the problem of left and right blanks on the WordPress mobile page

(WordPress)- How to solve the problem of left and right blanks on the WordPress mobile page

(WordPress)- How to solve the problem of left and right blanks on the WordPress mobile page

Kimo, which was often used in the past, and now Yahoo intellectuals, also stopped serving this year. I thought I would sort it out by myself, and I would also publish an English version for practicing English. If there is a grammatical error, please include more.

 

One cause:
Sometimes when WordPress browses webpages or articles on the mobile phone, there will be a few webpages or articles that can be moved horizontally, but the horizontal movement will be blank.

Two solutions:
In fact, it is caused by the Google Translate extension of the Chrome browser. When copying text and pasting in the editing page or article, it will bring in a paragraph of html grammar without content by the way:

div id=”gtx-trans”

You can remove it with one sentence of CSS! It is to add a section of CSS for the whole site, as follows:

#gtx-trans { display: none; }
or
#gtx-trans { display: none ! important }

 

 

 

Disclaimer:

1. This image file is collected and reproduced from the Internet, and does not assume any technical and copyright issues.

2. If there is a download link for broadband testing and research purposes only, please delete it within 24 hours after downloading, and do not use it for commercial use.

3. If you have violated your legal rights, please write to us and we will delete it in time. We apologize for the inconvenience caused to you.



發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *