Customizing the page template file

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:08
    Now that we've got our CSS applied to the page
  • 0:10
    and starting to get things to look like our mockup,
  • 0:13
    we need to figure out why all of this content isn't quite showing up right.
  • 0:18
    We've got the colors applied
  • 0:20
    and links and stuff are turning to look appropriate,
  • 0:23
    but it's not really lining up on the page correctly.
  • 0:26
    What we need to do is start making changes to the HTML
  • 0:30
    so that our HTML output by Drupal matches
  • 0:33
    what is expected by our CSS.
  • 0:36
    For example, if we take a look at the CSS files for our theme,

Customizing the Page Template File

Loading...

This video walks through the process of replacing static content in the page.tpl.php file with dynamic variables. Joe talks about the html.tpl.php file as well as pointing some of the important variables that should be included within the theme.

Additional resources: