I am wondering if anyone can help me figure out how to divide the banner 70/30 so that the slider uses 70% of the banner region and the other 30% is used by a block. When I currently try to place a block in the banner region and it wants to center above the slideshow. I want it to place it on the right and be the same height as the banner region

Comments

gtsopour’s picture

Assigned: Unassigned » gtsopour
Issue tags: +corporate, +Corporate Theme, +Corporate Clean Theme

Hello rheathcock

I will prepare you a solution for your issue with a new region at the right of the banner region (30%) and with the appropriate instructions in order to place this solution in your existing Corporate Clean theme. So in this new region you can put any of your blocks.
Banner (70%) - New Region (30%)

rheathcock give me some time please and in the coming days, i will answer you.

Thanks
/George

jtsheldon’s picture

I've got the same question...thank you so much for your help and for this wonderful theme!

gtsopour’s picture

StatusFileSize
new2.62 KB
new93.73 KB

Hello rheathcock and jtsheldon,

I found some time today and i prepared a solution for your support request. In order to complete this proposal needed changes in 2 files corporateclean.info and page.tpl.php and for the style changes i added the custom.css file. I will not push these changes to CorporateClean core theme because they are very specific. So, i will attach the 3 files and a screen of the result.

Just paste and override these files in CorporateClean theme directory. VERY IMPORTANT: Finally, you should clear all caches through Administration » Configuration » Prerformance » Clear all caches

Higlighting the changes

Futhermore for your convenience, i will highlight the changes i made below. You should understand the changes because ahead as the possibility of upgrading the CorporateClean theme (next version 7.2), you should redo these changes for your installation.

1. Added new 'Banner right' region and included the custom.css file

corporateclean.info

.
.
.
stylesheets[all][] = custom.css
.
.
.
regions[banner_right] = Banner right

2. Added new divs banner-inside, banner-left, banner-right
page.tpl.php
Changed the page.tpl.php structure from

<div id="banner">
.
.
.
</div>

to

<div id="banner">
<div id="banner-inside" class="clearfix">
<div id="banner-left">...</div>
<div id="banner-right"><?php print render($page['banner_right']); ?></div>
</div>
</div>

3. Added the custom.css file

Thanks
/George

jtsheldon’s picture

Thanks George, I was able to successfully implement that code into our website!

gtsopour’s picture

Title: Banner Region and Slider » Customizing template: Banner Region: Slider (70%) - New Custom Region (30%)
Status: Active » Fixed

Changed status to fixed.

Automatically closed -- issue fixed for 2 weeks with no activity.