Entity Print Integration to use theme

Created on 7 May 2021, over 3 years ago
Updated 27 June 2024, 6 months ago

Problem/Motivation

We have integrated Entity Print with the theme. It works and expands a JQuery UI nested paragraphs content and creates a PDF. However, this PDF is not formatted. We created a print.css as described in another thread.

@media print {}

.views-accordion-item .accordion-content {
    display: block !important;
  }

.d8-fade {
    opacity: 1!important;
  }
.main-navigation-wrapper,
#header,
#welcome-text,
#highlighted,
#top-container,
#footer-container,
#bottom-container,
#footer-menu,
#copyright,
.second-sidebar,
.first-sidebar{
  display: none!important;
 }

.w3css-content p {
    margin: 0;
    color: #000!important;
    background-color: #fff!important;
  }
.links li {
    font-weight: bold!important;
  }

However, none of the theme styles are carried over to the print display. How can we integrate the theme with entity print module?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Fixed

Version

1.21

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States markfien

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024