Home › Forums › All Other Themes › reverse the order on mobile
- This topic has 11 replies, 2 voices, and was last updated 9 months, 1 week ago by Sonl Sinha.
-
AuthorPosts
-
February 13, 2024 at 4:38 pm #213320
Hi,
I’m working with the gbhotel template.
I need the columns in the “Our Services” section on the home page to reverse the order on a smartphone, so that you see the text first and then the tiles with the icons.Thank you
February 13, 2024 at 7:19 pm #213325Hi,
Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:
@media screen and (max-width:479px) { .skt-blocks-ifb-title-wrap { top: -80px; position: relative; } .skt-blocks-ifb-image-icon-content.skt-blocks-ifb-imgicon-wrap { bottom: -40px; position: relative; } }
Regards,
DaveFebruary 14, 2024 at 2:32 pm #213346Hi,
I tried it, but it doesn’t work.This is my test page: https://demositeweb.free.nf/about/
Refer to sections that have columns showing images on the left and text on the right on the desktop, such as “Title 1” and “Title 3.”
Now, when I open the page from mobile, the images appear first and then the text.
I want to get the opposite, first the text and then the images, like the section with “Title 2”On html I used this class:
@media (max-width: 767px) {
.row-reverse-sort-sm {
display: flex;
flex-direction: column-reverse;
}
}Thanks again
February 14, 2024 at 5:24 pm #213406Hi,
Kindly send us your URL of the site and WordPress admin details (Username & Password) via email:[email protected] Please mention this forum URL while replying so that we understand what needs to be done.
We’ll check and revert back to you.
Regards,
DaveFebruary 14, 2024 at 7:07 pm #213419Hi,
I sent the email.
RegardsFebruary 14, 2024 at 7:11 pm #213423Hi,
Given login details isn’t working. We are getting this message.
https://nimb.ws/hdxCW6
Regards,
DaveFebruary 14, 2024 at 7:29 pm #213424Hi,
now it seems ok.Try it please.
February 15, 2024 at 11:07 am #213431Hi,
Issue have been resolved on mobile screen. kindly check and confirm.
https://demositeweb.free.nf/about/
Regards,
DaveFebruary 15, 2024 at 3:10 pm #213603Hi Dave,
I saw the modification and it works. Thank you!I made a small change to the class. By doing so, I just need to add the “gb-column-reverse” class in the ADDITIONAL CSS CLASS(ES) of the section where the columns must be reversed on mobile:
@media screen and (max-width:767px) {
.gb-column-reverse .responsive-columns-inner-wrap.responsive-columns-columns-2 {
display: flex;
flex-direction: column-reverse;
}
}Do you have any objections or is my modification correct?
Thanks again for the support
February 15, 2024 at 6:12 pm #213725Hi,
Yes, your modification is correct👍
Regards,
DaveFebruary 15, 2024 at 7:24 pm #213772Fine.
Thanks,
RegardsFebruary 15, 2024 at 7:28 pm #213776Hi,
If you found our service good kindly review us here: https://www.trustpilot.com/review/sktthemes.org
Regards,
Dave -
AuthorPosts
- You must be logged in to reply to this topic.