function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jugbeer BholaJugbeer Bhola 

Responsive Design for Small Device

Trying to layout a responsive visualforce page with the lightning design system. When I look at it in a responsive mode the fields are  jumbled. 

Example:

Regular Browser

Residential Street           Mailing Street
Residential City              Mailing City
Residential State            Mailing State
Residential Zip                Mailing Zip

Current Responsive For Phone 

Residential Street          
Mailing Street
Residential City
Mailing City
Residential State            
Mailing State
Residential Zip                
Mailing Zip


Want it like this: 

Residential Street
Residential City
Residential State
Residential Zip
Mailing Street
Mailing City
Mailing State
Mailing Zip

Current Tag:
  <div class="slds-col--padded  slds-size--1-of-1 slds-medium-size--3-of-6 slds-large-size--6-of-12 slds-m-top--medium" >
Best Answer chosen by Jugbeer Bhola
Jerome RussJerome Russ
Have you considered wrapping the Mailing and Residential addresses in their own div?

Since you always want the addresses stacked vertically, you explicitly specify that in their own divs. Then, you can display those divs using the method in your current tag, putting them side by side on larger screens or on top of each other on smaller ones.

All Answers

Jerome RussJerome Russ
Have you considered wrapping the Mailing and Residential addresses in their own div?

Since you always want the addresses stacked vertically, you explicitly specify that in their own divs. Then, you can display those divs using the method in your current tag, putting them side by side on larger screens or on top of each other on smaller ones.
This was selected as the best answer
Jugbeer BholaJugbeer Bhola
Thank You for responding!  Just over thinking it.  Works great!