PDF Cover Blank After Replacing Cover svg
Posted: Thu Jul 28, 2022 12:12 am
Hello,
I used Oxygen Styles Basket to create my template and styles. I uploaded an svg to the Styles Basket for the cover.
When I downloaded the template and css, the image was named cover.svg.
I then realized I needed to edit it. I don't have an svg editor on my Windows PC so I e-mailed the cover.svg file to myself and opened it in Adobe Illustrator on my Mac. I added a company logo to the bottom of the svg, saved it, e-mailed it back to myself and then deleted the original cover.svg file in the resources folder and saved the revised cover.svg file in the resources folder.
When I ran the next PDF using HTML5 and CSS, the cover was blank...all white.
I then tried to re-upload the package to Styles Basket so I could change the cover graphic, but it failed with a message saying there needed to be a styles.css in the root, which there was.
Why would the transform fail to find the svg when the new filename was exactly the same and the path in the styles css remained unchanged?
Any suggestions on how to replace the original cover.svg with the revised cover.svg?
Thanks!
Pat
I used Oxygen Styles Basket to create my template and styles. I uploaded an svg to the Styles Basket for the cover.
When I downloaded the template and css, the image was named cover.svg.
I then realized I needed to edit it. I don't have an svg editor on my Windows PC so I e-mailed the cover.svg file to myself and opened it in Adobe Illustrator on my Mac. I added a company logo to the bottom of the svg, saved it, e-mailed it back to myself and then deleted the original cover.svg file in the resources folder and saved the revised cover.svg file in the resources folder.
When I ran the next PDF using HTML5 and CSS, the cover was blank...all white.
I then tried to re-upload the package to Styles Basket so I could change the cover graphic, but it failed with a message saying there needed to be a styles.css in the root, which there was.
Why would the transform fail to find the svg when the new filename was exactly the same and the path in the styles css remained unchanged?
Any suggestions on how to replace the original cover.svg with the revised cover.svg?
Thanks!
Pat