Hi!
I did a first drupal theme. I don´t have to much knowledge with the codes (html,php), but I read in several places how to do a drupal theme. I did everything, I mean all tpl.php pages, css, screenshot, .info and I have a template that actually works. But there's no layout, there's no color. I have set for example for the menu a long yellow rectangle (sliced in fireworks), in page.tpl.php I've put this code:
<?php if ($main_menu): ?>
<?php print theme('links', $main_menu); ?>
<?php endif; ?>
In style.css I've put:
#main-menu {
clear: both;
}
#main-menu-links {
background-image: url(images/menu.jpg);
position: relative;
height: 71px;
width: 960px;
font-size: 0.929em;
margin: 0;
padding: 0 15px;
}
#main-menu-links li {
float: left; /* LTR */
list-style: none;
padding: 0 1px;
margin: 0 1px;
}
#main-menu-links a {
color: #000000;
float: left; /* LTR */
height: 2.4em;
line-height: 2.4em;
padding: 0 0.8em;
text-decoration: none;
}
And there's no yellow rectangle.
The same for the logo:
<a href="<?php print $front_page;?>">
<img src="/<?php print $directory;?>/images/logo.jpeg" alt="<?php print $site_name;?>" height="59" width="159" align="middle"/>
</a>
I must say that all images are in the folder images in the theme folder.