FAQ: Frequently Asked Questions

How to change style?
How to add custom fonts?
I'm editing custom .css but don't see any changes.

How to change style?

In order to use custom style for the usual theme place your own article-style.css in /sdcard/GoldenDict/.config directory. Do the same with article-style-night.css for customizing the night theme. See example below on this page.
Available starting with GoldenDict version 1.5.0.

How to add custom fonts?

Add custom font in your article-style.css or article-style-night.css in the usual way using 'file://<absolute path to font>' url scheme.
Available starting with GoldenDict version 1.5.0.
Example of article-style.css:
@font-face
{ 
  font-family: "MyFont"; 
  src: url('file:///sdcard/GoldenDict/.config/simsunb.ttf');
}

body
{
  font-family: "MyFont";

  color: gray;
  background: yellow;
}

.gddictname
{
  background: green;
}
This will change some colors and set font to custom 'simsunb.ttf' located in /sdcard/GoldenDict/.config directory.

I'm editing custom .css but don't see any changes.

Browser can cache article-style(-night).css. Use the 'Clear browsing cache' option in Preferences.
Available starting with GoldenDict version 1.5.0.