Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Titles colored background not kept on ePub 2 export

Return to Member Forum

  • Author
    Posts
    • #86008
      HB Edit
      Member

      Hello again,

      I have another question concerning epub export.

      When exporting to ePub 2 from Indesign CC 2015.4, the colored background of paragraph styles (like titles) are not shown on Adobe Digital Edition or else, it disapears.

      I am actually using the “Paragraph net” Indesign option just under the “Tabulations” one (maybe the translation is not perfect) and it works perfectly for print books.

      So i am obliged to modify the CSS file in order to indicate the background, and it works.

      But is there a direct way to avoid modifying the CSS file ?

      Below is what i am obliged to write to every title styles, witch is a bit annoying…

      display: inline-block;
      background: #e19e3b;
      color:#ffffff;
      padding: 3px;

      Thanks for any help.

    • #86029
      Aaron Troia
      Participant

      I’m not sure how or what order InDesign exports style sheets in, but one work around that might work is saving that CSS in a custom stylesheet and importing it when you need it on export. Anyway I havent tried it, but thought it might work.

      Aaron

      • #86041
        HB Edit
        Member

        Hello Aaron, thanks a lot for your answer and advice.

        If i understand well, i would have to save this code on a css file (say “custom.css”), then add it to the main Indesign css file (idGeneratedStyles.css) when exporting to ePub.

        But how can i say to this custom.css file to make changes ONLY to some titles styles of the main css file (like “Title 1”, or “Title-with-background” for example) ?

        Do you know the right “syntax” ?

        Best regards.

Viewing 1 reply thread
  • The forum ‘EPUB and eBook’ is closed to new topics and replies.
Forum Ads