OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Custom CSS: OrdaSoft Template - Section Template (0 viewing) 

OrdaSoft template Support

Go to bottom Favoured: 1

Custom CSS: OrdaSoft Template - Section Template

abasel (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Custom CSS: OrdaSoft Template - Section Template 2 Years, 1 Month ago
Karma: 0  
Do I just manually add my custom CSS to the existing CSS files or is there already a custom.css file somewhere?
Logged Logged
The administrator has disabled public write access.
abasel (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:Custom CSS: OrdaSoft Template - Section Template 2 Years, 1 Month ago
Karma: 0  
I added the custom.css to my index.php as below

Code:

// Add Stylesheets
// $doc->addStyleSheet($this->baseurl."/templates/".$this->template."/bootstrap/css/1bootstrap.css");
$doc->addStyleSheet($this->baseurl."/templates/".$this->template."/bootstrap/css/bootstrap.css");
$doc->addStyleSheet($this->baseurl."/templates/".$this->template."/bootstrap/css/bootstrap-responsive.css");
$doc->addStyleSheet($this->baseurl."/templates/".$this->template."/css/font-awesome.css");
$doc->addStyleSheet($this->baseurl."/templates/".$this->template."/css/style.css");
$doc->addStyleSheet($this->baseurl."/templates/".$this->template."/css/os_pages.css");
$doc->addStyleSheet($this->baseurl."/templates/".$this->template."/css/custom.css");



But it does not seem to show when I inspect the generated HTML. I tried clearing cache as well is incognito modes on different browswers but nothing works.
Logged Logged
The administrator has disabled public write access.
abasel (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
[Solved]Custom CSS: OrdaSoft Template 2 Years, 1 Month ago
Karma: 0  
Worked it out.

The issue was that it was the offline file... needed to reference the css there too
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:[Solved]Custom CSS: OrdaSoft Template 2 Years, 1 Month ago
Karma: 102  
Thank you

Yes, for add custom CSS to our joomla templates you may

Create "custom.css" file in folder:
Code:

/templates/{your_template}/css/


add to "custom.css" file - your css styles

and to file
Code:

/templates/{your_template}/css/index.php

after row
Code:

$doc->addStyleSheet($this->baseurl."/templates/".$this->template."/css/style.css");

add row
Code:

$doc->addStyleSheet($this->baseurl."/templates/".$this->template."/css/custom.css");


Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»