Thread Starter
ics01
(@ics01)
excellent plugin, i use it in a lot of websites
‘ve just worked on this subject.
you can use a page builder (there are some plugins)
but if you want to code a page, here an example below. Type this in the code window of a post :
<style type="text/css">
<!--
div#colonneA {
width:60%;
float:left;
padding-right:20px;
border-right: #000 1px solid;
}
div#colonneB {
width:40%;
float:right;
}
@media screen and (max-width:1040px) {
div#colonneA {
width:100%;
float:none;
background:khaki;
border-right: 0px;
}
div#colonneB {
margin-top:20px;
width:100%;
float:none;
}
}
-->
</style>
<div>
Here, a text that will come 100% of the width.
</div>
<div id="colonneA">
Here, a text that will be displayed in a left column width 60%.
</div>
<div id="colonneB">
Here, a text that will be displayed in a left column width 40%.
</div>
This will display the two columns right-left when the wideness of the screen is 1040px or wider, but when it is under 1040px, it will display colonneB block behind colonneA block.