Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1263483

    Hi,

    I use the left column in a table as the “label column”. All other columns are “standard columns”. If longer entries are to be found in the “Standard Columns”, the entries in the “Label Column” no longer fit because the height does not “grow with”.

    The content of the “Label Column” must therefore always be as large / high as the content of the “Standard Column”. I can imagine that this is not wanted because it would make no sense.

    An example is shown on my website. I sent the link with access data as “private content”. See line “Domains inklusive” and the entrie after “Addon-Domains inklusive (…) what does not fit the line because of the long content in “Standard column” for “Domains inklusive” (all subsequent lines have slipped).

    Best regards,
    Mathuseo

    #1263689

    Hey Marcel,
    Sorry for the late reply and thanks for the link to your page.
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script() { ?>
        <script>
    (function($) {
    $(document).ready(function(){
        var width = $(window).width();
        if ( width >= 767) {
        $('#pakete .avia-pricing-table-container .pricing-table-wrap:nth-child(2) li').each(function(index){
            $('#pakete .avia-pricing-table-container .pricing-table-wrap:nth-child(1)').find('li').eq(index).css('height', $(this).css('height'));
        });
        $('#pakete .avia-pricing-table-container .pricing-table-wrap li:nth-child(9)').css({ 'height': '91px' });
        $('#pakete .avia-pricing-table-container .pricing-table-wrap li:nth-child(13)').css({ 'height': '66px' });
        $('#pakete .avia-pricing-table-container .pricing-table-wrap li:nth-child(20)').css({ 'height': '88px' });
        $('#pakete .avia-pricing-table-container .pricing-table-wrap li:nth-child(25)').css({ 'height': '66px' });
        };
    });
    })(jQuery);
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_script');

    Then clear your browser cache and check.

    Best regards,
    Mike

    #1266211

    Hi Mike,

    Thank you very much!

    Best regards,
    Mathuseo

    #1266262

    Hi,
    Glad to help, unless there is anything else we can help with on this issue, shall we close this then?

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.