Title: Fixing broken HTML
Last modified: June 2, 2020

---

# Fixing broken HTML

 *  Resolved [halahalbadani](https://wordpress.org/support/users/halahalbadani/)
 * (@halahalbadani)
 * [6 years ago](https://wordpress.org/support/topic/fixing-broken-html/)
 * Translatepress messed up my layout in the Arabic translated page, it narrowed
   it down instead of making it full width. I tried to ‘Fix spaces between HTML 
   attributes’ and then ‘Fix broken HTML’ when it didn’t work. The layout was fixed
   but I got many question mark signs instead of Arabic “????”.
 * For now I disabled them all and kept the messed up layout. How can I fix it without
   getting question marks as a translation?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffixing-broken-html%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Denis](https://wordpress.org/support/users/sdenis/)
 * (@sdenis)
 * [6 years ago](https://wordpress.org/support/topic/fixing-broken-html/#post-12927079)
 * Hello,
 * You could activate the “Fix broken HTML” and you could easily resolve the ???
   by adding another font to the arabic version using a little CSS.
 * The code is:
 * [@import](https://wordpress.org/support/users/import/) url(‘[https://fonts.googleapis.com/css?family=Padauk&display=swap&#8217](https://fonts.googleapis.com/css?family=Padauk&display=swap&#8217););
   
   body.translatepress-ar { font-family:Padauk; } // Use your desired font and language
   code
 * And to find a font for your language you simple enter the site pick a font.
    
   [https://fonts.google.com/?subset=arabic](https://fonts.google.com/?subset=arabic)
 * The code must be pasted in the Additional CSS.
 * Let me know if you don’t manage to follow the steps.
 * Cheers,
    -  This reply was modified 6 years ago by [Denis](https://wordpress.org/support/users/sdenis/).
 *  Thread Starter [halahalbadani](https://wordpress.org/support/users/halahalbadani/)
 * (@halahalbadani)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fixing-broken-html/#post-12997632)
 * I’m sorry for replying late, but I have done what you mentioned above. I added:
 * [@import](https://wordpress.org/support/users/import/) url(‘[https://fonts.googleapis.com/css2?family=Scheherazade&display=swap&#8217](https://fonts.googleapis.com/css2?family=Scheherazade&display=swap&#8217););
   
   body.translatepress-ar {font-family: ‘Scheherazade’, serif; }
 * into the additional CSS. But still I get ??? in many places around my website.
   when i try to translate, it says from the original text and then from English
   with an empty field, to Arabic with an empty field.
 * I would really appreciate your help. I haven’t changed my website, you can see
   the question marks if you visit it.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fixing broken HTML’ is closed to new replies.

 * ![](https://ps.w.org/translatepress-multilingual/assets/icon.svg?rev=3166541)
 * [TranslatePress - Translate Multilingual sites with AI Translation](https://wordpress.org/plugins/translatepress-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/translatepress-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/translatepress-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/translatepress-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/translatepress-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/translatepress-multilingual/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [layout](https://wordpress.org/support/topic-tag/layout/)
 * [question marks](https://wordpress.org/support/topic-tag/question-marks/)

 * 2 replies
 * 2 participants
 * Last reply from: [halahalbadani](https://wordpress.org/support/users/halahalbadani/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/fixing-broken-html/#post-12997632)
 * Status: resolved