OS Property support center

SOLVED !!! Custom CSS on OS Property

  • Becker
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 1 month ago - 10 years 1 month 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: 10 years 1 month ago by Dang Thuc Dam.

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

More
10 years 1 month ago #76571 by Dang Thuc Dam
Replied by Dang Thuc 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
10 years 1 month 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: Dang Thuc DamNguyen Phu Quan