The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Coupon Creator
[resolved] Styling the Print View (4 posts)

  1. blakef
    Posted 2 years ago #

    First of all, this plugin is almost exactly what I/my client needed (minus responsiveness and a few minor things) so thanks!

    Through CSS I was able to change/override the h3 and content sizes to what I need but when the print window comes up it is not styled correctly and everything is much too large.

    I see that there is a .print class before everything and when using Firebug I can change it all perfectly. However, when I put it in my CSS, and even when I use !important, it doesn't want to override your default styles.

    What am I doing wrong?



  2. Brian
    Plugin Author

    Posted 2 years ago #

    I am not sure, that is not enough information of where you are putting the css changes to know why it is not working.

  3. rbergeron81
    Posted 2 years ago #

    I am having the same problem.

    I am adding my styles to my child themes stylesheet.

    Like this:

    @media print {
    	.print_coupon .cctor_coupon_content h3 {
    	.print_coupon .cctor_coupon_content {
    		background:url(images/RiverCityServicesLogoCoupon.png) 0 bottom no-repeat !important;
    		position:relative !important;
    		z-index:9999 !important;

    Have tried it in a few different browsers. The print styles work when I just try to print a page like this:


    But when I use the "click to open in print view" link on an individual coupon, the print styles are not being used.

    Also, I would prefer not to edit the plugin files because then when the client updates it, the changes will be overwritten.

    Any help on this would be much appreciated.


  4. Brian
    Plugin Author

    Posted 2 years ago #

    The Print Template does not call a themes stylesheet.

    So that would be why it is not working.

    I did that because otherwise every theme would overwrite the print layout creating more problems.

    I will look into adding a method to add custom css to the print template, but for now it has to be manually added to the coupon creator stylesheet.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Coupon Creator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic