28
Omega (960gs & HTML5) Danilenko Alexander

Drupal 7 theming on omega

Embed Size (px)

DESCRIPTION

My presentation from DrupalCamp 2011 Kyivhttp://camp11.drupal.ua/

Citation preview

Page 1: Drupal 7 theming on omega

Omega (960gs & HTML5)

Danilenko Alexander

Page 2: Drupal 7 theming on omega
Page 3: Drupal 7 theming on omega

Creating subthemeCreating subtheme

Page 4: Drupal 7 theming on omega

Creating subthemeCreating subtheme

Page 5: Drupal 7 theming on omega

Creating subthemeCreating subtheme

Page 6: Drupal 7 theming on omega

Creating subthemeCreating subtheme

CHANGES TO YOUR_THEME_NAME.INFO

• name = Your Awesome Theme Name• description = Your Awesome Theme Description is very descriptive and cool!!

Page 7: Drupal 7 theming on omega
Page 8: Drupal 7 theming on omega

960.gs960.gs

Page 9: Drupal 7 theming on omega
Page 10: Drupal 7 theming on omega

Omega settingsOmega settings

Page 11: Drupal 7 theming on omega

Zone settingsZone settings

Page 12: Drupal 7 theming on omega

Zone settingsZone settings

Page 13: Drupal 7 theming on omega

General Omega General Omega SettingsSettings

Page 14: Drupal 7 theming on omega

Optional CSSOptional CSS

Page 15: Drupal 7 theming on omega

Form SettingsForm Settings

Page 16: Drupal 7 theming on omega

Page titlesPage titles

Page 17: Drupal 7 theming on omega

Breadcrumb settingsBreadcrumb settings

Page 18: Drupal 7 theming on omega

Menu settingsMenu settings

Page 19: Drupal 7 theming on omega

Grid overlay settingsGrid overlay settings

Page 20: Drupal 7 theming on omega

Grid overlay sampleGrid overlay sample

Page 21: Drupal 7 theming on omega

CSS StylingCSS Styling• For CSS styling edit file

\sites\all\themes\subthemename\css\

subtheme.css

Page 22: Drupal 7 theming on omega

CSS pathCSS path

• ID – unique identifier• Class - indicates the appliances in Class

Page 23: Drupal 7 theming on omega

CSS pathCSS path

• <div id=“id1”>

• <div class=“class1”>

• div#id1 { … }

• div.class1 { .. }

HTML CSS

Page 24: Drupal 7 theming on omega

Tag hierarchyTag hierarchyHTML: HTML: <div class=“class1”> <div class=“class2”></div></div>

CSS:CSS:div.class1 div.class2 { .. }

Page 25: Drupal 7 theming on omega

What is classWhat is class

Class1

Class2

Class3

<div class=“class

1 class2 class3”>

Page 26: Drupal 7 theming on omega

What is classWhat is class

Class1

Class2

Class3

<div class=“class1 class2”>

Page 27: Drupal 7 theming on omega

Omega CSS path Omega CSS path samplessamples

• Blockso section#blockname {…} – path to block via IDo section.block {…} – all blockso section#blockname h2.title {…} –title of blocko aside. region-sidebar-first section#blockname

{…} - block in 1st sidebar

Page 28: Drupal 7 theming on omega