Can I customize the layout and styles of my ePub?

StreetLib Write provides you with ready-made graphic themes to apply to your book.

Each chart has specific characteristics in terms of fonts, styles, chapters, text alignment, and so on, and is designed for a specific literary genre (see, for example, Academic or Biographical themes, those for Fiction or Nonfiction, or for the Detective genre, etc).

Here are some of the most used themes:

Leopardi (the default theme)



On this page, you can find all the other themes available in Write.

If you have a particular need and know the CSS language, Write gives you the possibility to intervene directly to the code.

Here's how to do it:

from the content editor of your book or from the Book Tab click on "Theme";

then on "Create theme";

give a name to the theme and choose on which graphic theme to work, among those proposed from the drop-down menu;

Now you can start working on the CSS code depending on the type of content you want to edit. For example, if you want to change the way the chapter title is rendered, click on the corresponding content type ("chapter title"), and in the editor window that will appear on the right, you can intervene on the graphic feature you want (font size, font, etc.). For example, if you want the chapter title to be lowercase and not uppercase, you will need to change the corresponding CSS rule (text-transform) from uppercase to lowercase;

If you want just the first letter of the title to be capitalized, you will have to put capitalize instead of uppercase. 

Attention: the single CSS declaration "property: value" (in our example: "text-transform: lowercase;") must be pulled out from the CSS comment (that is, the block of text enclosed between /* and */), must be just outside, always within brackets, otherwise they won't be applied.

You can also leave just the property to be modified (in our example, that of the text-transform) if you don't need to modify the others.

By clicking on the corresponding icon, at the bottom of the navigation bar on the left, you will also be able to intervene similarly on the CSS code regarding:

- TITLE: or title and author's name appearing on the title page of your book

- INDEX of the book: that you’ll never have to enter manually because it’s created automatically by Write, based on the structure of your book

 - PDF for printing.

Once you’ve created your theme, for it to be active you need to go to Book Tab, click on "Change Theme", then on "My Themes", select the created theme and then click on "Activate" to the right.

Still need help? Contact Us Contact Us