Someone messaged me asking for advice on how to rearrange footer modules. Thought a post would be helpful to all, and save me from writing it again in the future.
How to go from this (standard out of the box Phoenix) in XS (mobile phone) view;
To this;
Step 1: Change "Sort Order" on "Text Block" to 15
Admin > Modules > Content > {Text Block} > Edit > {Sort Order: 15} > Save
Step 2: Change "Content Container" on all 4 Footer Modules
Admin > Modules > Content > {all 4 of them} > Edit > {Content Container : **see next post**} > Save
HOW TO: rearrange footer modules
-
- Lead Developer
- Posts: 2851
- Joined: Tue Oct 29, 2019 9:37 am
- : Buy Me A Beverage
- Has thanked: 52 times
- Been thanked: 161 times
HOW TO: rearrange footer modules
You do not have the required permissions to view the files attached to this post.
-
- Lead Developer
- Posts: 2851
- Joined: Tue Oct 29, 2019 9:37 am
- : Buy Me A Beverage
- Has thanked: 52 times
- Been thanked: 161 times
Re: HOW TO: rearrange footer modules
Each modules Content Container looks more or less like this;
This says;
In XS view, make this content full width - note that this is implied and is not set explicitly in the above code
In SM view, make this content half width [6/12ths each]
In MD and larger views, make this content quarter width [3/12ths each]
Unimportant in the context of this post, but explained for clarity;
In XS view give this content a Bottom Margin of "2".
In SM and larger, make this content have a Bottom Margin of "0".
We are solely interested in amending that XS view, so that it looks like the example.
You COULD do this, simply add col-6 (making XS view half width [6/12ths]);
Or you could do this, which is preferable as it is less code;
By amending each modules "Content Container" like this, it now says;
In XS and SM view, make this content half width [6/12ths]
In MD and larger views, make this content quarter width [3/12ths]
As well as the unchanged margin bottom settings.
Code: Select all
col-sm-6 col-md-3 mb-2 mb-sm-0
In XS view, make this content full width - note that this is implied and is not set explicitly in the above code
In SM view, make this content half width [6/12ths each]
In MD and larger views, make this content quarter width [3/12ths each]
Unimportant in the context of this post, but explained for clarity;
In XS view give this content a Bottom Margin of "2".
In SM and larger, make this content have a Bottom Margin of "0".
We are solely interested in amending that XS view, so that it looks like the example.
You COULD do this, simply add col-6 (making XS view half width [6/12ths]);
Code: Select all
col-6 col-sm-6 col-md-3 mb-2 mb-sm-0
Code: Select all
col-6 col-md-3 mb-2 mb-sm-0
In XS and SM view, make this content half width [6/12ths]
In MD and larger views, make this content quarter width [3/12ths]
As well as the unchanged margin bottom settings.