How to Refresh Equal-Height Script?

I'm adding a custom font resizer jQuery script to my BeTheme site. Is there a line of javascript/jQuery that I can include to "refresh" the equal-height DIVs on the page? So that the containing DIV heights are updated whenever the font is sized up or down. I'm using the Muffin Builder for the page layouts.

Thank you for your help.

Comments

  • Hi,

    Sorry, but our policy states that we do not support custom code so unfortunately, we cannot be of any help to you.

    But it is possible to do that. In that case you should contact your webdeveloper.

    thanks

  • Not looking for support on this issue. Can you just at least point me in the right direction? What file(s) should be I be looking at?

  • Hello,

    You do not have to edit any file, you can create the jQuery script which will attach new height of the elements which are using that option.

    thanks

  • Not going to edit the file. I'm looking for the jQuery function that assigns the height to equal-height DIVs. I should be able to re-load/re-execute that script. I just don't know the function name, where it's located, etc. Can you tell me what file contains the jQuery script?

  • Nevermind. Found it. It's function mfnEqualHeightWrap(). Close this discussion.

  • You do not have to check the source code, as I said just create the jQuery script and paste it into Theme Options -> Custom CSS & JS -> JS which will trigger the 'resize' event (when your event fire), then the calculation of equal heights will turn on once again.

    The equal height of wraps is always re-calculated while resizing, so 'resize' event will be a solution.

    Thanks

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.