Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 12-30-2010, 05:32 PM   #1
tfeld
Junior Member
tfeld began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2010
Device: PRS650
Unhappy How to change .article_description font size?

Hi everybody,

in my recipe I wanted to override the default CSS of a news recipe. So I added:

Code:
    extra_css = '''
        .article_date {
              color: black;
              font-size: small;
              display: block; }
        .article_description {
              color: gray;
              display: block;
              text-indent: 0;
              font-size: large; }
    '''
The change of the font size in the .article_date works as expected. Unfortunately, the font size of the .article_description does not.

What am I doing wrong here?
tfeld is offline   Reply With Quote
Reply

Tags
css, font size, style sheet

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't change font or font size in ereaders jmacg Sigil 30 10-23-2010 09:21 PM
Change font size? Jabby Sigil 1 10-23-2010 05:59 PM
change html font size ssh nwsco iRex 0 04-26-2009 03:17 AM
Font Size Change Phonella Calibre 10 01-28-2009 12:46 PM
LRF Font Size Change Brandon202000 Sony Reader 5 12-04-2007 05:53 PM


All times are GMT -4. The time now is 03:17 PM.


MobileRead.com is a privately owned, operated and funded community.