How to customize your sidebar blocks in Drupal 7


Tutorials - Tutorials

User Rating: / 0

There are several ways for creating content for your site in Drupal 7. The most common method is to create a post, page, or article. This content appears in the center of a page and is the focal point of a page. You may want other content to appear on all pages. Typically these areas are headers, footers, and sidebars. This article will instruct you on how to create a custom sidebar block for content you want to be constant on your page.

Creating a custom sidebar block in Drupal 7

  1. Log into your Drupal 7 admin dashboard.
  2. From the top menu bar, locate the Structure option and click it.
  3. This leads you to the Structure menu. From here, find and click on the Blocks option.
  4. From the main block list, select the Add Block option. 

  5. This brings you to the New block creation screen. From here, fill out the fields to display your desired content. In our example, we will enter a table that displays hours for a phisycal store. Other ideas would be contact information, special announcements, ads, etc.

    Block Title Optional title for the block. The text entered here will display on the page.
    Block Description The title that will appear in the back end. This is the name displayed in the Block list.
    Block Body The content you want to display on the webpage footer.
    Region Settings A set of dropdowns for each theme. Select which area you want the new block to appear. In this example, we chose sidebar first, which is the left sidebar area of the Bartik theme. Note that different themes can have different areas and names.
    Visibility Settings Various restriction options. By default, it will display on all pages and for all users.
  6. After entering all the data for your new block, click the Save Block button at the bottom of the page to finalize the creation.
  7. Now that the sidebar blockis created, we want to confirm that the new block is lsited correctly on the Blocks list. It should show correctly under the Sidebar First. section based on how we set it in the Regions setting upon creation. 

    Now your new sidebar information should display on your site. Below is a before and after screenshot of the changes made in this tutorial.



About Us

Royal Developer Top three Web Designing and Web Development Company in Dehradun, Uttarakhand, India. Royal Developer Best SEO Company in Dehradun takes pride in its philosophy of 'Employee First' which empowers to create a real value for the customers. Royal Developer can offer Best and cheap Website Development Software Development & SEO Services. We are the Best service Provider of SEO, SEM, SMO Services Company in Uttarakhand. Web Designing Course in Dehradun, Web Designing Classes in Dehradun, Web Design Training Institute in Dehradun, Web designing institute in dehradun, Best institute for web designing in dehradun, Web development training in dehradun, Web development course in dehradun, Web Designing Training in Dehradun.


- Contact Information - 

Add : RDIT Services Pvt Ltd, 3rd Floor, RGM Plaza, Above Chandu Canteen,
          23 Chakrata Road, Dehradun - 248001, Uttarakhand, India

Email : 


 : +91 8171200108, +91 8979462451,
                                  +91 7895753921

Quick Enquiry Form

Enter your full name

Enter your valid email address

Enter your correct mobile number

Invalid Input

Your Message
Invalid Input

Enter Code
Enter Code
  RefreshInvalid Input


You are here: Home Tutorials How to customize your sidebar blocks in Drupal 7