i want build block latest news like this https://ibb.co/xGdt03D
site
https://www.alloubnania.com/
Hello,
You need to add an inner row and that row and set the block in that inner row, after you need to add an extra class -> https://i.imgur.com/pRFF4CM.png and use that extra class in your code, for example, I have set td-row-gradient-homepage1
@media only screen and (min-height: 1000px) {
.td-row-gradient-homepage1 .vc_column {
display: box;
overflow-y: scroll;
}
}
@media only screen and (max-height: 999px) {
.td-row-gradient-homepage1 .vc_column {
display: box;
overflow-y: scroll;
height: 800px;
}
}
@media only screen and (max-height: 899px) {
.td-row-gradient-homepage1 .vc_column {
display: box;
overflow-y: scroll;
height: 600px;
}
}
@media only screen and (max-height: 700px) {
.td-row-gradient-homepage1 .vc_column {
display: box;
overflow-y: scroll;
height: 500px;
}
}
@media only screen and (max-width: 767px) {
.td-row-gradient-homepage1 .vc_column {
overflow: visible;
height: 100%;
}
}
Set the code in Raw CSS.
Thank you!
Hi,
You can set the css here https://i.imgur.com/WtBQcva.png
Maybe you need to adjust the css for your block.
Thank you!
thank you
how can make scroll bar on left position
https://imgur.com/2Aom6l1
another question how make this code for just element not row
Hi,
I see that now the sidebar is on the left – https://i.imgur.com/INAntz7.jpg also, the code is applied only on the column from that row.
Thank you!