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

    Is there anyway to assign classes to the pricing table, so that I can change the colors of individual boxes?

    Because all the tables are in the same color section etc, I don’t have a way to change their color. And that is just way too much of one color. Is there a way to assign a class insert a wrapper for styling?



    I found a way to add an id to each table (table_1, table_2, table_3, etc), here is how:

    Open /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/table.php, and search for this block of code (line 197):

    foreach($sorted_rows as $ul_k => $ul){

    $output .= "<div class='pricing-table-wrap'>";

    Replace it with:

    $i = 0;

    foreach($sorted_rows as $ul_k => $ul){


    $output .= "<div class='pricing-table-wrap' id='table_$i'>";

    Remember that this type of customization would be erased if you update the theme, before updating make a backup of the theme.




    not sure if that’s what we want… I want to be able to make each aiva header row, first table item a different color for price package differentiating.

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

The topic ‘Pricing Table Color Classes’ is closed to new replies.