This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Object Value
#2
Use value-center Additional class. Add to Custom JS:
Code:
$(function() {
  $('.value-center').each(function(_, el) {
    var valueel = $('.value', el);
    var iconheight = $('.icon', el).height();
    var valueheight = valueel.height();
    var offset = (iconheight + valueheight) / 2;

    valueel.css('margin-top', -offset + 'px').css('padding-top', 0);
  });
});
Reply


Messages In This Thread
Object Value - by sjfp - 06.06.2023, 08:40
RE: Object Value - by admin - 06.06.2023, 08:58
RE: Object Value - by sjfp - 08.06.2023, 21:29

Forum Jump: