How do I implement different blocks

Posted in: Newspaper
Post count: 44

I usually put different image size, one for cell phone and one for computer.
I use the following css:

#pc {display: block;}
#mobile {display: none;}


@media
screen and (max-width: 768px) {

#pc {display: none;}
#mobile {display: block;}

}

Right after, I insert the following before the image code:
<div id=”mobile”> …</div> to hide from the computer. Example:

<div id="pc"></div>

<div id="mobile"></div>`

How do I implement different blocks in the site layout using this same css?

Post count: 18283

Hello!

You can use the column text element in order to render shortcodes or use codes.

Simply copy the shortcode and insert it in the text area of the column text as you can see here: https://www.screencast.com/t/UEMEsVKog
Column text is an element from tagDiv Composer.

Thank you !

Post count: 44

I found it. Unfortunately some Newspaper blocks don’t have the option to filter categories. I suggest that all of them, regardless of format, have this option.
I take this opportunity to ask the following question.
How do I change the color of the entire website header?
How do I put background inside the block?

Post count: 18283

Hello!

Those can be done using tagDiv Composer. The background can be set if you click on the ROW button: https://www.screencast.com/t/HyBlze3Z8S You can set it as image or color. This can be done on the header too.

Thank you!

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