Is it possible to view HTML sourcecode from FLEXBLOCK ?

Posted in: Newspaper
Post count: 4

Is it possible to view the source code (html) of a flexblock in the theme? I want to put a html code in a empty column including a flexblock code.

Here below an example of my page. Left is a flexblock, right is a (htmL) image. On a desktop it looks fine (i adjust the Marins and paddings so it fits together) but when you view it on a tablet or phone it is a mess.

You guys have some advice?

Desktop:
Screenshot image

Mobile:
Mobile

Post count: 18283

Hello !

Unfortunately this option is not possible in Flex Block. You can try however a Column text element, that should work. 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: 4

Thanks for the reply. But that doesn’t desire what i want. I just simply want my flex block (1 post of my news) to be perfectly fit next to a image (no gap). And that works but in a phone it doesn’t fit correctly.

I guess what i want is just not possible in this theme?

Post count: 35449

Hi goudafm,
If you are using Newspaper v10.3.7 then you can achieve what you need using the new option for mobile pages -> https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/ in this way you can adjust the mobile layout in the way you want, also you can display a different content if you want and all these can be done using tagDiv Composer, using this method you don’t affect the desktop version.
Also I think that is possible to use a custom css only for mobile, if you want I can take a look to see if I can make a code for this, just provide me a link to your website.
Hope this will help you!
Thank you!

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