Thread: Help needed:
View Single Post
Old 05-01-2019, 05:53 PM   #2
lui1
Enthusiast
lui1 began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Dec 2017
Location: Los Angeles, CA
Device: Smart Phone
hints for styling your ebooks

Here are a few suggestions that might help. The links provided point to the relevent sections of the online manual found at https://manual.calibre-ebook.com/index.html.

For the news recipes you can use the extra_css instance variable to add css properties to the ebook (See Slicing and Dicing):
Code:
extra_css = '''
    p, div { 
        margin-bottom: 1em;
    }
    '''

To disable the fetching of CSS from the website use no_stylesheet. (See Replacing Article Styles):
Code:
no_stylesheet = True

To change the CSS during conversion use Conversion Options -> Look & Feel (See Look & Feel). The picture below shows you where you can change the spacing between paragraphs:

Click image for larger version

Name:	layout.png
Views:	89
Size:	102.3 KB
ID:	171216

Last edited by BetterRed; 05-01-2019 at 06:01 PM. Reason: Please don't post inline images bigger than 600x600
lui1 is offline   Reply With Quote