Flex block lacks settings level font configuration for article title

Posted in: Newspaper
Post count: 4

I would like to specify the font size and weight for the article title in a flex block 1. I do not want to specify these on each instance of the flex block as this will be laborious to change later on every instance.

I can set the font family in [theme settings >> Modules and Blocks – Article Title >> General Font] however this does not allow me to set size and weight as this element is specified to be of type ‘general_setting’ (td-composer/legacy/Newspaper/includes/td_config.php:29285).

If I do not wish to override this value on every instance then how should I achieve this? Options I can think of are:
1) edit td-composer/legacy/Newspaper/includes/td_config.php as follows
'modules_general' => array(
'text' => 'General font',
'type' => 'default',
)

But I don’t like this option as it will likely be problematic in the face of updates

2) I could create a new plugin that implements a bespoke implementation of a flex block that uses, say, module_1 for font settings.

3) something else that I haven’t thought of

What would you recommend? Thanks!

Post count: 18283

Hello !

Unfortunately this will require custom coding and also please note that your modification will not be update proof. The support team does not covers this kind of modifications. For this you can contact our team here: https://tagdiv.com/premium-customization-services/
Thank you !

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