Helix Ultimate - How To Change The Order Of The Areas Displayed In Mobile Mode Compared To Desktop Mode - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Helix Ultimate - How To Change The Order Of The Areas Displayed In Mobile Mode Compared To Desktop Mode

O

Ottele

Template 4 months ago

In Joomla 5 using the Helix Ultimate template, I would like to change the order of the areas displayed in mobile / tablet modes compared to the desktop mode.

In desktop mode I have for the Main Body 3 areas: left area - Component area – right area

My component-area is an iframe wrapper area.

In mobile mode, I want to see :

first the Component area

under the Component area I want to see the contents of the left area

under the left area: the contents of the right area

In tablet mode, I want to see :

left + Component areas in one row

under this the contents of the right area

My test site is ottele.lu

Is that possible? Many thanks for any help.

Kind regards, jm

0
4 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 months ago #196260

Hi JM,

Is that possible?

In general, Yes

How?

Only by Custom CSS and @media and order property. You cannot do that by settings. This is typical CSS task. Read more about those and use it for for those ID #sp-left, #sp-right and #sp-component.

0
O
Ottele
Accepted Answer
4 months ago #196302

Ok, many thanks for your help.

I thought that there has to be an easier solution, for instance double the Main Body in the Layout of Helix Ultimate, one for desktop, and one for mobile (configured with the Responsive options), but in the Layout I can define only one zone as "Component".

I have found also a solution naming Custom CSS Class for Left "order-2 order-lg-1", and so on, with the following Custom CSS:

/ Default desktop styles / .main-body { display: flex; flex-direction: row; }

.left-area { order: 1; } .component-area { order: 2; } .right-area { order: 3; }

/ Mobile/tablet: stack vertically and reorder / @media (max-width: 991.98px) { .main-body { flex-direction: column; }

.component-area { order: 1; } .left-area { order: 2; } .right-area { order: 3; } }

but there was missing one step...

I have "solved" now my problem, by no showing Left for mobile with the Responsive options, which is not what I initially wanted, but ...

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 months ago #196305

Probably You forgot that you disbled Left column in Template Options > Layout > Responsive tab in Mobile view. Becuase in HTML code I see that class name who hide it.

0
O
Ottele
Accepted Answer
4 months ago #196382

Many thanks!

0