Hi all,
Many of you asked me to update the following code, provided by Joachim Brindeau, which creates a two colums layout. These two colums have equal width - 50%. Some of you want the left column or the right column to have a 30% or 40% width. It’s possible.
You can add as many $("#blockxx").insertAfter($("#tocolumnxx"));
as you wish. Each time you want to add a block in a column you will change the #tocolumn by changing the column number.
For example, let’s say you add a new form block and you want to place it below the calendar, in the same column.
Here what would be the code:
Careful with which blocks you choose to insert in the 3 columns as the result is not always sexy. Feel free to change the 33% width of each column (the sum of all % width must me 100%)
Thanks a lot from my side as well @matthieu_chateau
I understood that you did a “last update”, but maybe theres place for one issue that results out of using your (great) code!
I use full width blocks on my page as well as two blocks side by side according to your code. However, the two side-by-side blocks are slightly wider than the full-width blocks.
Is it possible to adjust this?
Many thanks
Julian
Cant get this to work. Added the first custom code to the page where I wanted the layout. Then proceeded to add the code to the settings code fields, header and footer respectively. Tried on a new page and on a existing list detail page, with neither working. Do I need to alter anything in the code you posted or what am I missing?