Hello,
I attach two new layouts for your consideration for addition to Panels:
- 4-column
- 4-column stacked (i.e. a top panel, 4 column panels, a bottom panel)
They of course only need to be added to panels/plugins/layouts directory to work.
You can see the 4-column stacked layout in use at my online Thai lessons page.
Known, small issues I didn't manage to fix:
- because I currently don't have an image editor, is that I have not made a proper 4-column stacked image, so I have used the 3-column stacked image.
- I think there is a bit of uneven spacing on the columns (only a small space between columns 2 and 3).
I needed a 4-column stacked layout for my website . I found the following article to help me get what I needed:
http://miss-hana.com/creating-a-custom-layout-for-panels-3-in-drupal-7/
Attaching the zips. If you need these instead as a patch instead or as well, I could probably figure out how to do that, but my guess is that the zips are as easy as anything given that they are self-contained changes. If you do decide to add them to Panels, please give the git attribution to my user drupalshrek.
Comment | File | Size | Author |
---|---|---|---|
#3 | fourcol_stacked.png | 282 bytes | Miguel Andrade |
fourcol_stacked.zip | 1.71 KB | drupalshrek | |
fourcol.zip | 1.41 KB | drupalshrek |
Comments
Comment #1
7drupel7 CreditAttribution: 7drupel7 commentedThanks, it helped a lot along with https://www.drupal.org/node/495654
Comment #2
drupalshrek CreditAttribution: drupalshrek commented:-)
Comment #3
Miguel Andrade CreditAttribution: Miguel Andrade commentedAdded a (quick) png for reference