-
Author
-
September 3, 2017 at 16:25 #172489gm713Participant
Hi. I want to set the order for how elements stack vertically in smartphone view, when placed in a row.
As an example, consider a 50/50 row. Normally the elements in the left column will stack above the elements in the right column. I want to reverse it i.e. elements in right column should stack above the elements in left column.
How do I accomplish that?
September 3, 2017 at 16:43 #172492Kieran_SQModeratorHi @gm713,
I am going to forward this ticket to one of our developers as I do not have a solution for you, they will be in touch either on Monday or Tuesday.
Thanks for your patience,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
September 7, 2017 at 19:18 #172870RaduModeratorHi,
Can I view that page to can see exactly your landing page? now it says maintenance
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 9, 2017 at 20:00 #173093gm713ParticipantWe’re in the process of overhauling the website, but here’s what you can do to replicate it.
Create a row with 2 columns in a span6 + span6 format. Add text block on left and image on right. When browser size is reduced to smart phone view, the text (left block) appears on top and image (right block) appears below.
I want to flip that order so that the image block appears on top and text appears below.
September 11, 2017 at 17:48 #173276RaduModeratorHi,
Just add a custom class for the main row named <b>custom-cols-order</b>
Then for the first column (left one) add a custom class named <b>float-left-flip</b> and for the second (the right one) add this class name <b>float-right-flip</b>
Then add the css to wp-admin -> theme options -> General settings -> Quick CSS
COPY CODE@media(max-width:991px){ .custom-cols-order .vc_row {display: grid;} .float-left-flip {order: 2 !important;} .float-right-flip {order: 1 !important;} }
That’s it
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 13, 2017 at 03:22 #173486gm713ParticipantUnfortunately, that didn’t work. Just to be sure I’m entering this in the correct field (see attached), right?
Also, any reason why I shouldn’t enter this in style.css in child theme? I would like all my css mods to be in one place, and I prefer it there.
Attachments:
You must be logged in to view attached files.September 13, 2017 at 19:07 #173573RaduModeratorRemove the
COPY CODE<b> </b>
tags
from that field, leave only custom-cols-order class.
Then add the css to wp-admin -> theme options -> General settings -> Quick CSS or in style.css frmo child theme ass you wish
COPY CODE@media(max-width:991px){ .custom-cols-order .vc_row {display: grid;} .float-left-flip {order: 2 !important;} .float-right-flip {order: 1 !important;} }
Then add this class float-left-flip to the first column and this float-right-flip to the second.
Then in mobile those will be in reverse order
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 24, 2017 at 23:25 #174674gm713ParticipantHi Radu,
While this seems to work at Tablet view, when the view is changed to smartphone view, the right column seems to go back below the left column.
Can you please take a look. Thanks!
September 24, 2017 at 23:36 #174675gm713ParticipantTo add more details, it flips back to the original order at 768px and below.
September 26, 2017 at 16:00 #174825RaduModeratorHi,
Add also this css beside that
@media(max-width:640px){
.custom-cols-order .vc_row {display: grid !important;}
.float-left-flip {order: 2 !important;}
.float-right-flip {order: 1 !important;}
}Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 28, 2017 at 15:34 #175088RaduModeratorGreat
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.