fbpx

An Exclusive Offer For You To Grab JD Builder Pro Check Deal of The Day

Welcome, Guest
Username: Password: Remember me

Need a new feature in Astroid?

Submit feature requests on github and help improve Astroid.

Submit Now

TOPIC: Print version of articles css

Print version of articles css 3 months 4 weeks ago #17000

  • cbob1965
  • cbob1965's Avatar
  • Offline
  • New Member
  • Posts: 6
  • Karma: 0
Hi there,
I would like to change the style of the print version of articles, which seems to me to havn't any style at all...
Where could I find the stylesheet which is related to the print output?
Thanks in advance!
Chris
The administrator has disabled public write access.

Print version of articles css 3 months 4 weeks ago #17004

  • nishtha
  • nishtha's Avatar
  • Offline
  • Administrator
  • Posts: 433
  • Thank you received: 48
  • Karma: 7
Hi Chris,

For styling that page firstly create your stylesheet file for that please read the following article: docs.joomdev.com/article/how-to-use-cust...ss-files-to-astroid/.
Secondly now it's upto you how you would like to style it, so you need to do that manually yourself.
Let us know if you still have any more issues.

Thanks,
Nishtha
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.

Print version of articles css 3 months 3 weeks ago #17036

  • cbob1965
  • cbob1965's Avatar
  • Offline
  • New Member
  • Posts: 6
  • Karma: 0
Hi Nishtha,
yes I can do so, but I don't understand what I have to do to get an effect from my custom css on the print output. Body class of the output is contentpane component, and webdeveloper tells me that there is no stylesheet related to it at all. I've read that I have to add link to style sheet in the component.php, but I guess it will be overwritten by the next update. So could you pls tell me how to connect my custom.css to the print page.
Thanks again,
Chris
The administrator has disabled public write access.

Print version of articles css 3 months 3 weeks ago #17045

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3206
  • Thank you received: 508
  • Karma: 84
No need to modifies the component.php file.
Just create a custom.css file in css folder. it will automatically added.

Path: root/templates/astroid_template_zero/css
Documentation: How to add custom CSS or SCSS files

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.247 seconds