Thread: Bulk CSS Edit?
View Single Post
Old 03-19-2026, 04:00 PM   #4
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,794
Karma: 9501034
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by HFM1101 View Post
Hi,
clicking on the title page and changing the CSS from 'keep aspect ratio' from 'none' to 'yes', that has been the only thing that has worked.
If your cover page is created using svg code, then you should see the attribute preserveAspectRatio.
Ensure the value is set as this... preserveAspectRatio="xMidYMid meet"
Not sure about your comment "none" to "yes" and where you are changing that.

When importing an ebook into Calibre, you are given the option to preserve the cover image aspect ratio. You obviously have this unselected.
See image...

As for batch editing all books in your library to fix this problem, I have no idea if that is possible.
Attached Thumbnails
Click image for larger version

Name:	PreserveAR.jpg
Views:	21
Size:	75.0 KB
ID:	221897  
Karellen is offline   Reply With Quote