Customizing Blocks?

Posted in: Newspaper
Post count: 26

What’s the better option if I need a block with a different layout? I see you can either use the td-api plugin or a child theme. I’m not totally clear that the child theme approach lets me add a new block or only override an existing block.

Also, is there a guide somewhere in the docs that shows an example of the layout of each block? It’s kind of hit and miss with the tiny icons in the composer, and no way to see how big the thumbs and such are.

Post count: 23312

Hello sporkhc,

Unfortunately, our theme does not have such an option to change the layout of the block from Theme panel. If you want to do a custom block, the better option to achieve this is using API code for blocks. For more information about this, please consult our documentation here -> https://forum.tagdiv.com/api-blocks-introduction/
You can try to do it but please notice that is not a simple task and it is necessary to have more experience in hard coding to complete successfully achieving a custom block -> this tutorial addresses to advanced users. If you are not aware the steps in this regard and if you want to display more levels in our theme, please consider hiring a freelancer/developer to implement this functionality for your in our theme because we cannot provide custom services at the moment, sorry!

Hope this helps!

Thank you for the message!

Post count: 26

Thanks – I used that (or another example) and it worked fine, just wondered if there was an easier way using a child theme. Most of my changes are not progmatic, just simple things like altering the thumbnail size or similar, so I’ll continue with the API method.

Post count: 23312

Hello sporkhc,

You can do a child theme because the Block template files that can be modified using the child theme.
The child theme helps you to keep the changes made by you for the future update but if your modified files are not changed by the theme in this update. Please notice that the style.css file is changed in every update and it is necessary to update your child theme that comes bundled with our theme on every update to works well. If your files changed are different to files changed by the theme you have to replace only those files in the child theme.
For more information about the child theme support, please check our tutorial here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/

Hope this helps!

Thank you for the message!

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