Home pcDTR Forum
If you like the work i do, you know what to do.
Welcome, Guest
Please Login or Register.    Lost Password?

Different templates
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Different templates
#164
Different templates 8 Months, 3 Weeks ago Karma: 0
Hi
if in the same site I use more than one template (maybe one with white background and one with dark one), how can I style differently the css for pcDTR? I need that the same instance (for ex. contentheading) must be white into first template and black into second template.
Regards
theant
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#165
Re:Different templates 8 Months, 3 Weeks ago Karma: 2
Not that hard to fix.

Lets say you have two templates, one black and one white.

In template white add to the <body id="white">
Now in the style.css use the id #white before everything for that template:
#white .contentheading { bla bla bla }

Same goes for the black one

<body id="black">
#black .contentheading { bla bla bla }

Tada you have different styles for different templates.
flowman
Admin
Posts: 110
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#166
Re:Different templates 8 Months, 2 Weeks ago Karma: 0
Ok, thanks a lot.
Just another thing: using some fonts I see that words are too much close without space between. How can I check it?
theant
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#167
Re:Different templates 8 Months, 2 Weeks ago Karma: 0
Ok, enabling "Space after letter wrap" it works fine,
great job
theant
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Banner
Copyright © 2010 pcDTR. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.