GM HTML TO DOCX DOWNLOADS AND DOCUMENTATION

The plugin allows you to customise the styles applied to various elements in the Word document. These styles are defined in the “Define styles” section of the plugin code. Here’s how you can customise them (this assumes you can access your website files via SFTP and know your way around a plugin folder and its content):

  • Locate the main plugin file in your plugin folder: The plugin folder contains a file called gm-html-to-docx.php. This is the file you want to edit.
  • Open the plugin file: Open that file in your text or code editor of choice (such as TextMate or any other code editor or basic text editor).
  • Locate the “Define Styles” section: Scroll down until you find the section commented as “Define styles”. Here, you will find different style definitions for various elements like paragraphs, headings, lists, etc.
  • Modify styles and save: To modify a style, change the parameters in the respective style definition. For example, if you wanted to change the default Arial font to Calibri, you’d replace all ‘Arial’ references with ‘Calibri’, and then save the edited file (ensuring its saved on your server and not only locally).