[themes] Background image in front page but not in others/how?

Carl Wiedemann carl.wiedemann at gmail.com
Fri Feb 4 20:24:15 UTC 2011


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
>
> > Use Firebug to inspect your CSS and determine the relevant classes on the
> > <body> tag.
> >
> > On Fri, Feb 4, 2011 at 12:56 PM, <pat at soligsoft.com> wrote:
> >
> >> Sorry didn't work.  Should it be .page--front #container { ……… }?
> >>
> >> > use body classes for theming.
> >> >
> >> > .page-front #container { ……… }
> >> >
> >> > /Stanislav
> >> >
> >> > Am 04.02.2011 um 20:44 schrieb pat at soligsoft.com:
> >> >
> >> >> #container
> _______________________________________________
> >> > themes mailing list
> >> > themes at drupal.org
> >> > http://lists.drupal.org/mailman/listinfo/themes
>
>
> _______________________________________________
> 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/d65d0277/attachment.html 


More information about the themes mailing list