Let's suppose you wanted to put a background image into the div header.inner.group, only on the front page.<div><br></div><div>.front #header.inner.group {</div><div> background-image: url('images/my-background-image.png');</div>
<div>}</div><div><br></div><div>This would go into style.css in your theme, or local.css (check out your theme's info file to see which css file is being invoked). </div><div><br></div><div>See <a href="http://www.w3schools.com/css/css_background.asp">http://www.w3schools.com/css/css_background.asp</a> where you can learn css without buying a book. But books are good (css cookbook, etc.) if you can spare the cash.</div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>Victor Kane</div><div><a href="http://awebfactory.com.ar">http://awebfactory.com.ar</a></div><div><a href="http://drupal.org/project/pft">http://drupal.org/project/pft</a></div>
<div><br><div class="gmail_quote">On Fri, Feb 4, 2011 at 5:41 PM, <span dir="ltr"><<a href="mailto:pat@soligsoft.com">pat@soligsoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Will get css book. But still confused. No examples seem to work, totally<br>
confused.<br>
<br>
PChuprina<br>
<div class="im"><br>
<br>
> What are the classes on the <body> tag?<br>
><br>
> Is class="html front not-logged-in no-sidebars page-node" on the <body>?<br>
><br>
> If so, target the #container this way:<br>
><br>
> .front #container { ... }<br>
><br>
> Consider getting a book on CSS to help learn how to properly use<br>
> selectors.<br>
><br>
><br>
> On Fri, Feb 4, 2011 at 1:16 PM, <<a href="mailto:pat@soligsoft.com">pat@soligsoft.com</a>> wrote:<br>
><br>
>> When I used firebug to inspect I got:<br>
>><br>
>> <div id="container" class="html front not-logged-in no-sidebars<br>
>> page-node"><br>
>> I'm not really sure what to use.<br>
>><br>
>> PChuprina<br>
<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
themes mailing list<br>
<a href="mailto:themes@drupal.org">themes@drupal.org</a><br>
<a href="http://lists.drupal.org/mailman/listinfo/themes" target="_blank">http://lists.drupal.org/mailman/listinfo/themes</a><br>
</div></div></blockquote></div><br></div>