-
AuthorPosts
-
September 9, 2019 at 11:45 am #1135921
How can we stagger elements in different order, when switching from 2 column to 1 column (mobile ie)?
So i have 2 columns – pic on the left and text on the right
Then my next section has text on the left, pic on the right..
When on mobile and it switches to 1 column, i would like the text to be below the corresponding pic, like the first section does, but not the 2nd section.
Thanks!September 9, 2019 at 1:37 pm #1135997This is my page with the elements flowing in default order (i need to change)
This site for example, has the elements rearranging to text/pic in 1 colum, even though in 2 columns ita laternates
https://www.aurishealth.com/monarch-platformSeptember 9, 2019 at 3:41 pm #1136074Hi andyux,
You can use flex, here is an example:
Best regards,
VictoriaSeptember 9, 2019 at 4:47 pm #1136119Hi, I tried both both places, with no change. Does it work with columns inside a color section? i tried it outside color section with no change too.
September 10, 2019 at 1:59 pm #1136538any ideas anyone? buy you a beer
September 10, 2019 at 2:17 pm #1136548September 10, 2019 at 6:37 pm #1136684Hi andyux,
The css needs to be changed to apply to the elements on your website.
Which elements do you need to swap? Just the upper image?
Best regards,
VictoriaSeptember 10, 2019 at 6:58 pm #1136700Hi there! sorry the link i provided was confusing because I had to rearrange all the elements after to be in the same order, for a presentation meeting.
So in desktop the order alternates between image and text columns, but in mobile they should all be text on top, image on the bottom, like in this graphic
Thank you!September 13, 2019 at 8:59 am #1137826Hi andyux,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (max-width:767px){ #top.page-id-18 #av_section_1 .entry-content-wrapper, #top.page-id-18 #av_section_3 .entry-content-wrapper { display: flex; flex-direction: column-reverse; } }
If you need further assistance please let us know.
Best regards,
VictoriaSeptember 14, 2019 at 3:10 pm #1138323Got it ! thank you!
September 16, 2019 at 8:45 am #1138698Hi,
Great, thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardSeptember 19, 2019 at 7:56 am #1139794Somehow the column reverse code stopped working, can you help me, i cant find the reason.
in the homepage (page#2)
<div id=”av_section_3″ /and the Lobo Tech page (page#18) in 2 places
<div id=”av_section_1″ /
<div id=”av_section_3″ /Here is my qucik css
} #top #header #avia-menu > li:hover > a span.avia-menu-text { color: #006271 !important; } .sidebar.sidebar_right { background-color: ##f8f8f8; height: 100vh; min-width: 182px; } @media only screen and (max-width: 1124px) { .sidebar.sidebar_right { height: 10vh; } } .blog-meta, .post_author_timeline { display: none; } .blog-categories + .text-sep, .blog-author.minor-meta { display: none; } .post-entry span.comment-container.minor-meta, .post-entry span.text-sep-comment { display: none; } @media only screen and (max-width:767px){ #top.page-id-18 #av_section_1 .entry-content-wrapper, #top.page-id-18 #av_section_3 .entry-content-wrapper { display: flex; flex-direction: column-reverse; } } @media only screen and (max-width:767px){ #top.page-id-2 #av_section_3 .entry-content-wrapper { display: flex; flex-direction: column-reverse; } } .more-link-arrow{ display:none!important; } .more-link, .wpforms-submit { background-color: #d9ab28!important; border-color: #d9ab28!important; border-radius:5px!important; padding:10px 20px!important; font-size:13px!important; color:#fff!important; } more-link:hover, wpforms-submit:hover { text-decoration: none!important; opacity: 0.9!important; } div.wpforms-confirmation-container-full { border: #a51e37; background: #D9AB28; } #footer .widget { margin: 0 !important; } .footerfont { font-size: 90%; line-height: 140%; } @media only screen and (max-width: 767px) { .footerfont { font-size: 70%; line-height: 120%; } } @media only screen and (max-width: 767px) { #footer > .container > .flex_column.av_one_half { width: 50% !important; } }
thanks!
September 20, 2019 at 10:45 am #1140167Still trying to figure this out, help? thanks
September 22, 2019 at 6:04 pm #1140666Hi andyux,
I am seeing the text + image structure on mobile, is it not the same for you?
Could you please attach some screenshots of the issue?
Best regards,
VictoriaSeptember 22, 2019 at 6:42 pm #1140691Hi Vistoria, i have fixed this – and moved on to a related issue on post
thanks, sorry for the confusion
September 22, 2019 at 8:47 pm #1140756Hi andyux,
Glad you got it working for you and thank you for letting us know! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.