View Single Post
Old 07-12-2019, 12:12 PM   #5
Jeff L
Zealot
Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.
 
Posts: 117
Karma: 584308
Join Date: Oct 2010
Location: San Francisco
Device: Kindle
If by "shoved to the right hand side" you mean "justified" then you can change that to "left aligned."

Poetry is usually left aligned and often uses a hanging indent. Open with the Editor to see what class is used for the relevant lines. Add or change the alignment as follows in the css:

.classname (<-- whatever name is being used)
{
text-align: left;
margin-left: 2em;
text-indent: -2em;
}

There are complications to hanging indents which I won't go into here. Since you appear to have a more recent Kindle, most of your ebooks should be in the KF8 format which allows for complex hanging indents. If you need to use the older mobi 6/7 format, then the left margin and the negative indent must use the same increment as in the above example.

For "classname", sometimes they'll use the same classname as for regular sentences. In that case, any changes you make will affect all other instances of that classname. So either keep the change minimal, like just left alignment or add a new classname for poetry and use that.


Regarding the "Extra CSS" field affecting everything - for this field to work, it must override whatever currently exists in the CSS. If you don't look inside the CSS, you can't see how a particular formatting is being handled. So you need to use broad strokes to ensure that you change what you want. But by doing so, you can end up affecting more than you intended.

The field only affects the book you're working on.

Personally, I always use the Editor. It gives you more control. I would suggest you do the same. Ebooks are, for the most part, like ordinary html. It's not that hard. You don't need to know everything to get started. Just what you need to make the changes you want.

Make a test copy of book, open it in the Editor, and take a look around.
Jeff L is offline   Reply With Quote