Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be great to have 3 bottom regions.
I would like to have recent comments, recent posts and popular entries on the bottom.
Comments
Comment #1
shruti.sheth CreditAttribution: shruti.sheth commentedWe can make 3 bottom regions as follows
Bottom region 1->$content_bottom_top
Bottom region 2->$content_bottom
Bottom region 3->$content_bottom_bottom
1. Adding php code as follows above the code for $content_bottom in page.tpl.php
2. Adding php code as follows below code for $content_bottom in page.tpl.php
3. Adding the following region code in .info file
4. Adding the following css for the new regions created in your custom .css file
/* CSS for content-bottom-top and content-bottom-bottom regions */
Comment #2
mrtoner CreditAttribution: mrtoner commentedNice work, shruti.sheth. I read the request, however, as wanting these three regions side-by-side, instead of stacking them. That's a common design for the content the OP anticipates putting there.
Comment #3
c31ck CreditAttribution: c31ck commentedIf you want the three regions side-by-side you can still use the solution proposed by shruti.sheth, it's just a matter of adjusting the CSS. Setting a width on the regions and making them float left should get them side by side.