1
xtreme
Theme Design
  • 2004/6/28 17:00

  • xtreme

  • Just popping in

  • Posts: 22

  • Since: 2003/10/4


I want to make a Theme for my site,
but i want that every block another (titel) color haves,

is there a code sow i can make that ?

Hans Vos


Sorry for my bad English

2
Gilian
Re: Theme Design
  • 2004/6/28 18:17

  • Gilian

  • Not too shy to talk

  • Posts: 133

  • Since: 2002/6/13


yes there is, put something like this in you style.css
Quote:

.g01 {background-color:#88000d;color:#ffffff; padding:1px 4px 1px 2px; font-weight:bold;font-size:12px;text-transform:uppercase;}
.g02 {background-color:#406cb0;color:#ffffff; padding:1px 4px 1px 2px; font-weight:bold;font-size:12px;text-transform:uppercase;}

you can use as many as you want, just number them g01, g02, g03 etc. and change the colors.
then, put this in you block_left/right.html:
Quote:

<div class="<{cycle values = "g01,g02,g03,g04,g05,g06,g07,g08,g09"}>"><{$block.title}></div>

this should do the trick

3
xtreme
Re: Theme Design
  • 2004/6/29 9:25

  • xtreme

  • Just popping in

  • Posts: 22

  • Since: 2003/10/4


Tnx, ik shalll try it , thanks man

Login

Who's Online

215 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 215


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits