View Single Post
Old 07-31-2019, 09:18 PM   #245
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by sawka View Post
Hello All,

Is there a way to change background color of that white frame from the attached picture?

I don't know what is the proper name of that element, but it seems that in HTML it's called the "aside tag".

Here's that element's code taken from the ebook editor:



I tried to change it using a user stylesheet, but something as simple as:



just doesn't work...
I think the aside tag is only supported by epub3. I don't know what an epub 2 would do with it. But, you are probably changing the wrong class. The aside wraps around a div. The div has the class "sidebar". That is probably what is setting the white background.
davidfor is offline   Reply With Quote