Closed (works as designed)
Project:
MAYO
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Jan 2011 at 17:53 UTC
Updated:
26 May 2014 at 01:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pixture commentedSounds reasonable and I will think about it.
Comment #2
pixture commentedI attached the sample of the additional region.
It is difficult to have multiple blocks in columns and have separate box for each column block because the difference in height of each column block would make it looks a bit ugly. So I made the entire columns wrapped in a big box (with the same sidebar block style).
You can put 1 to 4 blocks there and the width of each column is automatically calculated based on the number of columns.
What do you think?
Thanks,
Comment #3
JohnnyX commentedSo far so good. You're right, height could be a problem but dependent of the block content we can handle it. Should we divide the blocks with border, spacing or any other way?
Comment #4
JimmyAx commented+1 for #2
Comment #5
pixture commentedI basically agree that having sidebar box style for individual block with some spaces between columns would be better.
When it comes to the height matching, I can think of two solutions although people would not like it.
1) use Javascript and obtain the max height of the column blocks and apply the max height to all other column blocks
2) use table instead of using div and float (easy solution)
I will do a bit more experiment and show you the sample screenshot later.
Comment #6
pixture commentedAttached is the screenshot of another block columns sample. I have not yet figured out about height matching.
I tried table method but did not quite well. I am now looking into javascript method.
Anyway, please take a look at the image.
Comment #7
pixture commentedI have added small javascript to make the column height matches. Attached is the screenshot of this.
It's very small script but I know that there are people who does not like such javascript executed upon loading a page.
What do you think?
Comment #8
JohnnyX commentedLooks good for me.
Great theme and I love it, thanks! :)
Comment #9
JimmyAx commentedLooks okey.
Comment #10
JohnnyX commentedLittle bug with text size js code. If you increase text size block won't grow with the text inside.
It's no problem for me but a (little) bug ;)
*UPDATE*
And no border can set around th blocks. Maybe not required...
Comment #11
pixture commentedI have fixed both issues.
1) Top and bottom column blocks does not change the box size when the font size is changed.
2) Top and bottom column blocks does not have border like the sidebar blocks.
This will be included in the next release and in the tomorrow's dev snapshot release.
Thanks for the report.
Comment #12
JoshOrndorff commentedI use the MAYO theme and love it. Thanks a ton!
I also use these blocks, and noticed that, as you said in #2, the width of the blocks is automatically calculated. I'm wondering if there is a way that I can manually change the block widths.
I want to have three blocks such that the first two are pretty wide, and the third one is thinner.
Thanks a lot,
-Josh
Comment #13
mermentau commentedClosing old issues that have lain dormant over a year without a response from either side. Please reopen in the advent there's still interest.