Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / AdsManager Support / CSS when printing details view

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

CSS when printing details view

More
7 years 8 months ago #26318 by nocturna
CSS when printing details view was created by nocturna
Hello,

I am using a custom style of colors defined in my custom.css file from AdsClarity.

I have the print button enabled in the details view, but when I print the ad or preview it, the default colors of the AdClarity template are printed and not those of my custom.css file.

I guess this is related to what is defined with @media queries print in the template.

Can you please tell me where is the CSS code that defines the print colors of the detail view so I can rewrite it in my custom.css file, assigning the colors I need?

Thank you very much,

Best regards,

J
More
7 years 8 months ago #26330 by loic
Replied by loic on topic CSS when printing details view
Hello,

You can see where is this code by doing a right click and 'inspect'.

All the code is in templates/adsclarity/css/

Best regards.
More
7 years 8 months ago #26364 by nocturna
Replied by nocturna on topic CSS when printing details view
Hello thank you very much.

For your answer, I deduce that I should be inspecting the code of detail view elements, and then rewrite it using my colors in my custom.css file under a @media print.

I have done this, but the default colors of the adsclarity template continue to be printed and not the ones defined in the custom.css file.

In the following image you can see this:



In the image you can see how the colors in my template are red and yellow. Selecting the print button displays the ad preview print window where the colors remain the default adsclarity blue colors.

How can I change these colors?

Can you give me any other indication?

Thank you very much,

Best regards,

J
Attachments:
More
7 years 8 months ago #26374 by juloaadmin
Replied by juloaadmin on topic CSS when printing details view
Our fault please edit component.php in the template directory

and add just before </head>


<link rel="stylesheet" href="<?php echo $this->baseurl . '/templates/' . $this->template . '/css/custom.css'; ?>" type="text/css" />


the custom.css is not loaded on custom.css

you could also add a princustom.css better than custom.css to add some specific css for print or just @media print
Time to create page: 0.145 seconds
Powered by Kunena Forum