How to add new regions in the theme??

grigorovmart's picture
grigorovmart
Sat, 03/19/2016 - 10:35
#1
How to add new regions in the theme??

Hi MegaDrupal!

I would like to ask you how can I add 3 new regions in the theme ?  As you see there're region A (clean code, extensive documentation...) , region B (amazing support, multupurpose) and region C (modern design, easy customize) in the image below. 

Image title

I've added them in the "md_bigstream.info" and don't know what to do next. Could you please help me.... I'm looking forward to hearing from you.

Kind regards,

Martin

cindy's picture
cindy
Tue, 03/22/2016 - 00:07

Hi,

Please open file page.tpl.php and insert the 3 regions in 3 columns with 3 tags div col-sm-4 (you should know about bootstrap) like this

<div class="col-sm-4">
<region 1>
</div>
<div class="col-sm-4">
<region 2>
</div>
<div class="col-sm-4">
<region 2>
</div>

Or

You can create 3 blocks to make 3 columns (with this way, you do not have to create 3 regions in file .info anymore). And when configure block, please add class Col-Sm-4 in "Custom class for block". Next, drag those blocks into the same region

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.