By ioo on
On my current site, each of the side blocks is diffrent, so I want to know if there is a way to do it here in drupal.
Right now I am tring to make the theme box_gray more my own (Taking the advice from this forum).
If there is a way to do this, can someone point me into how to do it?
FYI, the theme that I want to get to will look something like iRotbots you can see it here....
http://www.contact-sheet.de/blog/index.php/iroybots-stained-theme/
Thanks
Comments
Each block already has it's
Each block already has it's own CSS id (such as id="block-user-0"). Just look at your page source (html, not php).
Use these unique id's to write different CSS tags for each block.
hope this helps!
Besides css you may want to look at block.tpl.php
The html/css for each block is produced by block.tpl.php. Often themes use the default version which can be found under themes/engines/phptemplate. If you find that you need more control than the current template provides you can copy block.tpl.php to your theme directory and modify to meet your needs.
Right, but can I have more than one?
I want to make the search box look one way and the User Menu in another look.
So can I have MORE THAN one blocks.tpl.php and if so, how to I tel l Drupal to use one for this block and another for that one...
Thanks
If you succeed, please share!
Hi ioo
The iRotbots theme you are refering to sure looks good. As there are quite few themes available for drupal 4.7, i hope that you will share the theme with the rest of us if you succeed in porting it to drupal.
Kind regards
Bjarne
---
Testing drupal 4.7 cvs at http://drupaldanmark.dk/
a solution
here is my solution
http://drupal.org/node/45113