Inserting raw CSS code into themes


show more Inserting raw CSS code into themes provides you with in-depth training on Web. Taught by Tom Geller as part of the Drupal Gardens Essential Training show less
please wait ...

Inserting raw CSS code into themes

There's one part of Drupal Gardens' Theme Builder I haven't showed yet-- the Advanced tab. It's the most powerful feature, but it also takes the most knowledge of CSS. You could spend months studying exactly how CSS files interact with Drupal Gardens' themes, and obviously, we won't be able to do that here. But I will show you enough to be able to do little tricks, and then you can start flowering out from there. As usual, we go up to Appearance to bring up the Theme Builder, and then we go to the Advanced tab. Now what we're going to do with this is I am going to add a graphic very similar to this one on the top down here in the bottom, but I want that only to appear on the front page.

Now, there is no way to do that directly with the Theme Builder in Drupal Gardens, but you can do that with custom CSS. There is a class that specifies that something goes only on the front page; it's .front. I will show you that in just a minute. But the first thing we need to...

Inserting raw CSS code into themes
Video duration: 6m 57s 6h 6m Appropriate for all Updated Nov 10, 2011

Viewers:

Inserting raw CSS code into themes provides you with in-depth training on Web. Taught by Tom Geller as part of the Drupal Gardens Essential Training

Subject:
Web
Software:
Drupal Gardens
Author:
please wait ...