2.4.9 Update bug

Stephane's Avatar

Stephane

07 Jan, 2015 02:55 AM

Hello

I made a custom css wich i use to build sitemaps, today I just upgraded to the 2.4.9 version and when I tried to export a document in PDF, I lost the background color. Is there a way to download the old version ? Is it a bug or a feature ?

I included a screenshot of the old and new PDF export render.

  1. Support Staff 1 Posted by Brett on 07 Jan, 2015 03:35 AM

    Brett's Avatar

    Are you using paginate or continuous PDF?

    This is my iPhone. There are many like it, but this one is mine.

  2. 2 Posted by Stephane Curzi on 07 Jan, 2015 04:32 AM

    Stephane Curzi's Avatar

    I've tried with the twoPDF export, same result.

    Sent from my iPhone 6, it's huge !

  3. Support Staff 3 Posted by Brett on 07 Jan, 2015 02:00 PM

    Brett's Avatar

    May I see a copy of your custom CSS? I'm thinking that the only change
    that would have affected this was a positioning change in the body and
    wrapper elements. I should be able to find a workaround in either your
    stylesheet or in Marked itself for the next update.

    -Brett

  4. Support Staff 4 Posted by Brett on 07 Jan, 2015 02:57 PM

    Brett's Avatar

    Ok, I think I know what's going on. I added some default print styles that are probably overriding your custom CSS. Try adding this to your stylesheet:

    @media print {
        body, #wrapper {
            background: inherit!important;
        }
    }
    
  5. 5 Posted by stephaneonline on 07 Jan, 2015 09:16 PM

    stephaneonline's Avatar

    Just tried the fix, it didn’t work as is but by using my color inside the print style, it did work.
    Here are an example of the CSS and a file to view the sitemap.

    Thanks for the quick answer.

    --
    Stéphane Curzi
    [email blocked]

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • marked_PDF_export.png 77.2 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac