how can build block like this

Posted in: Newspaper
Post count: 7

i want build block latest news like this https://ibb.co/xGdt03D
site
https://www.alloubnania.com/

Post count: 27744

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!

Post count: 7

where i can put this code on css live

Post count: 27744

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!

Post count: 7

thank you
how can make scroll bar on left position
https://imgur.com/2Aom6l1

Post count: 7

another question how make this code for just element not row

Post count: 35449

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!

Post count: 7

this https://i.imgur.com/INAntz7.jpg
not from my site

Post count: 35449

Hi wp support, normally if you have set an RTL language the sidebar should be set automatically on the right, but in case it is not, please provide your website link to see what it is interfering with.
Thank you for your understanding!

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.