OS Property support center

SOLVED !!! Custom CSS on OS Property

  • Becker
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 2 months ago - 9 years 2 months ago #76565 by Becker
SOLVED !!! Custom CSS on OS Property was created by Becker
Hi Dam,

is it possible to creat en custom CSS to OS Property ?

Best regards,

Oliver

Grafic & Website designer since 1997
My business hmepage: www.cd83.fr
under construction.... www.holirent.fr
Last edit: 9 years 2 months ago by Mr. Dam.

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #76571 by Mr. Dam
Replied by Mr. Dam on topic Custom CSS on OS Property
Hi,
To add custom css for OS Property, please follow these steps
1. Adding Custom css file custom.css into directory: root > components > com_osproperty > style
2. Open file: root > components > com_osproperty > osproperty.php
Find
Code:
$document->addScript(JURI::root()."components/com_osproperty/js/ajax.js");
and add this below:
Code:
$document->addStyleSheet(JURI::root()."components/com_osproperty/style/custom.css");
Whenever you install new OS Property, you need to re-do step2.
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Becker
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 2 months ago #76725 by Becker
Replied by Becker on topic Custom CSS on OS Property
Thank's Dam

Grafic & Website designer since 1997
My business hmepage: www.cd83.fr
under construction.... www.holirent.fr

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan