New Landing How can we help? Themeforest Theme Support Dante Adding classes to table shortcode

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #148479
    jleon213
    Member
    Post count: 16

    Hello,

    Is there a way to add a custom class to a table. I have a page with several tables and i need to change color backgrounds and text colors.

    Thanks.

    #148652
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    I’m afraid not, you would need to add the tables in a page builder text block and add the extra classes to the text block. Then the CSS will be something like

    .yourextraclass table {
    
    }

    – Kyle

    #148715
    jleon213
    Member
    Post count: 16

    I found a way:

    Shortcode:
    [table type=”standard_minimal my-class”]
    Just write the class after the type of table.

    That’s it! ๐Ÿ˜€

    #148720
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok great ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register