Swap Columns Not Working in X Pro

Hello,

@media screen and (max-width: 767px) {
.x-section .x-container.swapcolumns {
display: flex;
flex-direction: column-reverse;
}
}

@media screen and (max-width: 480px){
.x-section .x-row.swapcolumn .x-row-inner {
flex-direction: column-reverse;
flex-wrap: nowrap;
}
}

The codes above were given to me before the most recent updates.
They only function on the classic content rows.

Can you let me know what works on Pro?

Thanks,

Jesse

Hello Jesse,

Thanks for writing in!

Please have the code updated and use this instead:

@media screen and (max-width: 767px) {
	.x-section .x-container.swapcolumns {
		display: flex;
		flex-direction: column-reverse;
	}

	.x-section .x-row.swapcolumn .x-row-inner {
		flex-direction: column-reverse;
		flex-wrap: nowrap;
	}
}

We would love to know if this has worked for you. Thank you.

This didn’t work either.

Hello Jesse,

Actually the code works because when I check your page in a smaller screens, this is what I am seeing:

Please temporarily deactivate WP Optimize plugin and test your site again.

I figured it out, it had to do with bad classes.
The area you were looking at was all classic content.
I resolved the issue with the new content.
Thank you!

Glad you sorted things out,

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.