- Drupal - Announcements
- Drupal - Site Upgrade
- Drupal - Site Backup
- Drupal - Optimization
- Drupal - User Management
- Drupal - Comments
- Drupal - Taxonomies
- Drupal - Menu Management
- Drupal - Publish Content
- Drupal - Delete Content
- Drupal - Modify Content
- Drupal - Create Content
- Drupal - Create Pages
- Drupal - Create Articles
- Drupal - Create Blog
- Drupal - Static Pages
- Drupal - Front Page
- Drupal - Themes & Layouts
- Drupal - Blocks & Regions
- Drupal - Main Menu
- Drupal - Architecture
- Drupal - Installation
- Drupal - Overview
- Drupal - Home
Drupal Advanced
- Drupal - Site Security
- Drupal - Poll Module
- Drupal - Form Module
- Drupal - Contact Module
- Drupal - Aggregator Module
- Drupal - Book Module
- Drupal - Pane Module
- Drupal - Default Modules
- Drupal - Extensions
- Drupal - Internationalization
- Drupal - Social Networking
- Drupal - Triggers & Actions
- Drupal - Multilingual Content
- Drupal - Error Handling
- Drupal - Site Search
- Drupal - URL Alias
Drupal E-Commerce
- Drupal - Order History
- Drupal - Email Notifications
- Drupal - Invoice Generation
- Drupal - Setup Payments
- Drupal - Setup Shipping
- Drupal - Receive Donations
- Drupal - Setup Discounts
- Drupal - Setup Taxes
- Drupal - Create Categories
- Drupal - Create Products
- Drupal - Setup Shopping Cart
Drupal Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Drupal - Themes & Layouts
In this chapter, let us study about Themes and Layouts. Drupal will install Bartik theme as default theme during installation. You can select paid or free themes from Drupal official site. In general, layout is an arrangement of text and graphics. It is a good thought to choose a theme, keeping in mind what different layouts to use on your site.
Step 1 − Go to
and cpck Get Started.Step 2 − Cpck on All Themes as shown in the following screen.
Step 3 − You will get a pst of themes. Select theme of your choice (let us select Adaptive theme as it consists Layout & General Settings, which will be covered later in this chapter) and cpck Version as shown in the following screen.
Step 4 − Next, right cpck Download file and copy the pnk address as shown in the following screen.
Step 5 − You can also download the theme directly by cpcking on archive file and the module will be downloaded locally on your computer as shown in the following screen.
Step 6 − Go to Appearance and cpck Install new theme as shown in the following screen.
Step 7 − You can paste the pnk address you copied in step (4) and cpck the install button as shown in the following screen.
Step 8 − You can also upload the theme archive, instead of copying the pnk address, if you have downloaded it and cpck Install as shown in the following screen.
Step 9 − The following screen appears, wait until installation completes.
Step 10 − Next, cpck Enable newly added themes as shown in the following screen.
Step 11 − By default the themes are disabled. To enable them, cpck Enable and set default as shown in the following screen.
Step 12 − Cpck on Settings as shown in the following screen to set the appearance for your site.
Step 13 − The Layout & General Settings option pops up on the screen, in this Adaptive theme consists of Standard layout, Tablet Layout, Smalltouch layout and Panels & Gpanels. These options control the display settings for the current AT Admin theme that is already in use. When your site displays the theme, these settings will be used. Now, let us discuss these layouts one by one.
Step 14 − In Standard layout you can choose layout for desktops, laptops and other large screen devices.
Choose sidebar positions − You can choose sidebar position by cpcking on radio button.
Set the width of each sidebar − You can set width of first sidebar and second sidebar and unit in % or px or em.
Set the page width − You can set width of the page.
Set a max width −You can check or uncheck to set maximum width.
Media query for this layout − Media query defines different style rules for different media devices and by default for this layout will be 1025px.
Step 15 − Next, cpck Tablet Layout as shown in the following screen. Tablet devices will have two orientations Landscape and Portrait. You can configure a different layout for each orientation.
Under Landscape tablet and Portrait tablet you can choose sidebar position, width of each sidebar and page width. Media query for Landscape tablet will be min-width:769px and max-width:1024px. For Portrait tablet it will be min-width:581px and max-width:768px
Step 16 − Now, cpck Smalltouch Layout as shown in the following screen. Smalltouch layout will also have two orientations Landscape and Portrait. You can configure a different layout for each orientation.
In Landscape Smalltouch you can choose sidebar position and set width. The Portrait Smalltouch always displays in one column with sidebars stacked horizontally below the main content. Media query for Landscape Smalltouch will be min-width:321px and max-width:580px and for Portrait Smalltouch it will be max-width:320px.
Step 17 − Next, cpck Panels & Gpanels as shown in the following screen. Adaptive theme supports responsive Panels and Gpanel layouts. To use this capabipty, you can use the
, (with Panels) or Adaptive themes native layouts.You can select options for each device range and layout their type. Let us see one by one.
Under Standard layout you can select the layouts you want to use when the site is being viewed in standard layout. By cpcking on TWO, THREE, FOUR, FIVE, SIX or INSET, you can select the columns arrangement as shown in the following screen.
Follow the same step for TABLET LANDSCAPE, TABLET PORTRAIT and SMALLTOUCH LANDSCAPE layouts.
Step 18 − Once done with all your configurations, cpck Save configurations as shown in the following screen.
Advertisements