How to change the background color in PDF templates?

How to change the background color in PDF templates?

      Using the PDF Customizer module, it is possible to adjust the PDF documents according to your needs. By default, the extension provides 4 pre-cofigured templates that could be used for each type of the order-related document: Order, Invoice, Shipment and Credit Memo. 
      The styles of the templates can be additionally modified in the app/code/Amasty/PDFCustom/view/frontend/web/css/ampdf.less file if the module was installed via file upload. If the extension was installed via composer, the correct path to the file would be vendor/amasty/module-pdf-customizer/view/frontend/web/css/ampdf.less. Below you can see a code snippet from the file in question:
.-left sets the style for the left column and .-right sets the style for the right column.
      If you need to change the default background color, edit the aforementioned lines accordingly and paste the required color in the background: line.

      Once the changes are made, make sure to run these commands via CLI to make the changes take effect:

php bin/magento cache:flush
php bin/magento setup:static-content:deploy
      
      After the commands have been run, set colors will be reflected in the PDF documents:



      • Announcements

      • Already Done in Q1'23

        New features and improvements Order Attributes v3.8.0 NEW now Order Attributes are placed on the PayPal Review Page; we added compatibility with Hyvä Theme for the module. You can find package for installing in composer suggest (Note: the compatibility
      • Roadmap | What to expect in Q1'23

        New features and improvements Improved Layered Navigation generate SEO-friendly URLs for multi-select Category filter; better speed performance of the Apply filters button; improve Category list load time. Special Promotions Pro optimize data types in
      • Already Done in Q4'22

        New Amasty services Make sure your site is well-performing with our E-commerce QA testing service. Let our specialists check various elements of your website and get the issues fixed. The service is available for any e-commerce platform (Magento, Shopify,
      • Roadmap | What to expect in Q4'22

        New features and improvements Elastic Search better performance of synonyms; REST API support. Product Labels enhanced extension performance with a lot of products on the page. Blog Pro posts migration from one Magento instance to another; email notifications
      • Already done in Q3'22

        New solutions Our new SaaS tool - Website SEO Health Check. Discover the most severe SEO mistakes which can damage your website. Available as part of Pro and Premium SEO Toolkit. New features and improvements Import and Export NEW we added the possibility