[themes] Background image in front page but not in others/how?
Victor Kane
victorkane at gmail.com
Fri Feb 4 20:46:39 UTC 2011
Let's suppose you wanted to put a background image into the div
header.inner.group, only on the front page.
.front #header.inner.group {
background-image: url('images/my-background-image.png');
}
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).
See http://www.w3schools.com/css/css_background.asp where you can learn css
without buying a book. But books are good (css cookbook, etc.) if you can
spare the cash.
Victor Kane
http://awebfactory.com.ar
http://drupal.org/project/pft
On Fri, Feb 4, 2011 at 5:41 PM, <pat at soligsoft.com> wrote:
> Will get css book. But still confused. No examples seem to work, totally
> confused.
>
> PChuprina
>
>
> > What are the classes on the <body> tag?
> >
> > Is class="html front not-logged-in no-sidebars page-node" on the <body>?
> >
> > If so, target the #container this way:
> >
> > .front #container { ... }
> >
> > Consider getting a book on CSS to help learn how to properly use
> > selectors.
> >
> >
> > On Fri, Feb 4, 2011 at 1:16 PM, <pat at soligsoft.com> wrote:
> >
> >> When I used firebug to inspect I got:
> >>
> >> <div id="container" class="html front not-logged-in no-sidebars
> >> page-node">
> >> I'm not really sure what to use.
> >>
> >> PChuprina
>
>
> _______________________________________________
> themes mailing list
> themes at drupal.org
> http://lists.drupal.org/mailman/listinfo/themes
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/themes/attachments/20110204/e72e1c5f/attachment.html
More information about the themes
mailing list