td_affix_menu_computed_height (tagdiv_theme.js)

Posted in: Newsmag
Post count: 15

We are currently using version 2.3 of Newsmag, and we are encountering a challenge that your team may have some insight of how to solve this.

We are using the sticky menu option, and we added another sticky <div> underneath the sticky menu.

Because of having the 2nd sticky div, the smart-sidebar isn’t working properly. It looks cut-off.

After a quick investigation, we found that by changing the value of td_affix_menu_computed_height = 100 at Line 4429 will solve the issue.

We have created a child theme for CSS and modules and blocks alteration. However, is there a way to override a javascript function at tagdiv_theme.js in our child theme? We do not wish to make modification / changes to tagdiv_theme.js – because we would like to keep upgrading the theme whenever there is new upgrade of the theme.

Any advice will be greatly appreciated.

Thanks.

Post count: 23312

Hello James Christou,

Unfortunately, our theme does not support to override the javascript file in Child Theme…sorry. For more details about Child Theme, please consult our documentation here: https://forum.tagdiv.com/the-child-theme-support-tutorial/ Here you should see the list of filess that can be modified using child theme.

Thank you for the message!

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