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.
Hi,
Thanks for the elegant theme. How can we extend it to 3 columns and specifically inserting left side bar ?
Thx
Comment | File | Size | Author |
---|---|---|---|
#8 | corporateclean-styles.zip | 5.6 KB | gtsopour |
#6 | corporateclean-3columns.zip | 6.77 KB | gtsopour |
Comments
Comment #1
gtsopour CreditAttribution: gtsopour commentedHello sbydrupal,
I will prepare for you a solution for 3 column support. Βecause my free time is limited, give me some time please and in the coming days i will answer you.
Thanks
/George
Comment #2
sbydrupal CreditAttribution: sbydrupal commentedThx George. It is a great elegant theme.
Comment #3
sotathan CreditAttribution: sotathan commentedIs there any solution yet?
Comment #4
bootn CreditAttribution: bootn commentedI am also keen on placing content into a left sidebar.
Is there a solution yet?
Thanks, great them though!
Comment #5
mkmevans CreditAttribution: mkmevans commentedI'm interested in adding a left column/sidebar as well. Is there a solution available anywhere? Thanks....
Comment #6
gtsopour CreditAttribution: gtsopour commentedHello everyone,
thank you for helping - supporting Corporate Clean theme.
I have prepared the whole implementation for supporting three (3) columns in all possible combinations: First sidebar - Content, Content - Second sidebar, Content, First sidebar - Content - Second sidebar. This implementation requires changes in three (3) theme files corporateclean.info, page.tpl.php and style.css.
Could you please implement the following changes in your end, review them and come back with comments/issues? After this, I will commit these changes in order to be included in next Corporate Clean theme release.
Just make the following changes (you can find also the three (3) theme files attached to this issue):
regions[sidebar_second] = Second sidebar
afterregions[sidebar_first] = First sidebar
Finally, your corporateclean.info file should contains the following code:
Change from
To
Note that I have added extra style rules for images. This addition was made in order to prevent you from changing the size of main content area images in the case of two (2) sidebars (this state will reduce the width of main content area).
This step is very important in order to force your template to be informed for the changes you have made in the template files. To do this go to Administer » Site configuration » Performance » Clear cached data
I am looking forward to your comments.
Thanks
/George
Comment #7
mkmevans CreditAttribution: mkmevans commentedThanks George. It looks great.
I found 2 small issues:
1) The items that get placed in sidebar-second don't have a white background like the items in sidebar-first do.
2) The heading for the top item placed in sidebar-second is positioned slightly lower that the headings for the top items in sidebar-first and content.
Thanks,
Matt
Comment #8
gtsopour CreditAttribution: gtsopour commentedHello Matt,
thank you for your reply.
You are absolutely right with your mentions. I have already resolved these issues. You can find attached 2 refreshed files (style.css, color/colors.css).
Just make the following changes:
Thanks again and I am looking forward to your comments regarding the new changes.
/George
Comment #9
gtsopour CreditAttribution: gtsopour commentedComment #10
gtsopour CreditAttribution: gtsopour commentedHello,
just committed all these changes:
Thanks
/George
Comment #11
mkmevans CreditAttribution: mkmevans commentedHi George,
Looks good. Thanks for making the changes so quickly.