![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jan 2020
Device: iPad
|
Background image
Hi,
I'm new here and also new in Sigil. Also zero knowledge in HTML, CSS. How do i get an URL for image for background image in Sigil? Thank you. |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
These are general epub css questions. Not specific to Sigil. Please ask in the "epub" forum not the Sigil forum.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,312
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
You need to put the picture into your ebook. In Sigil that would mean clicking on the "Add Existing" (plus sign on toolbar or File/Add in the menu) and selecting your file.
Once the image is in your epub, then you need to reference the image using this format: background-image: url("../Images/example.jpg"); where ../Images/example.jpg is the full internal path to the image file you added. You can (and should) spend some time looking through some of the CSS/HTML tutorials found on our Wiki or at W3Schools |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
svg image on top of a background png image | roger64 | ePub | 25 | 04-24-2015 11:00 AM |
background-image | Hermann14 | Software | 1 | 02-17-2015 03:38 AM |
background image in MOBI | JanGLi | Kindle Formats | 1 | 02-05-2013 12:09 AM |
Inserting a background image | roger64 | ePub | 1 | 12-28-2012 06:12 AM |
Background image | djrulz | Kindle Formats | 1 | 03-29-2011 04:51 PM |