Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #507675

    I´ve setup some tables in data display mode (price display seems to be broken).

    When watching the tables on desktop everything looks fine.
    On moble the headlines are wrong:
    – First item has no headline (althought it should)
    – last item (and the ones before) has headline of the previous item

    I think there is a bug in the way the contents of the ::before-tags are being generated.

    #507864

    Hey deeluuxe!

    It’s because you have an empty heading in the first column. Try this out, https://kriesi.at/support/topic/bug-table-headers-applied-incorrectly-on-media-query/.

    Best regards,
    Elliott

    #509740

    Hi Elliott,

    ok, this worked, but I think this behavior should be optimized. If you have a table with headlines in the first column + headlines in the first row it makes no sense getting data from the first cel of the first row. In any case this should be suppressed.

    Question: Is there a way to add the file of /enfold/config-templatebuilder/avia-shortcodes/table.php to the child theme as well? I tried to build the structure of folders in the child theme folder but the file is not being used. I would like to keep the change of the edited function in table.php when the theme is updated without making any changes again.

    Thanks for your help!
    Jan

    #510116

    Hey!

    unfortunately it won’t be possible to use table.php as child theme and you would need to write a php function inside your functions.php.

    Regards,
    Andy

    #512076

    Hi Andy,

    ok, is it enough just to copy the edited function from table.php to the functions.php (of the child theme) to ensure the updated function will be used even after an update of the theme? Or is anything else needed?

    Best regards
    Jan

    #512393

    Hey!

    You can do this, https://kriesi.at/support/topic/is-it-possible-to-modify-files-in-enfold-child/#post-218226, to copy the shortcode file to your child theme so the edit stays between updates.

    Regards,
    Elliott

    #529626

    Hi!

    Sorry for the late reply, this one took a little longer. I think I found a viable solution and will add it to the next theme update ;)

    Cheers!
    Kriesi

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