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

    Is there anyway to assign classes to the pricing table, so that I can change the colors of individual boxes? http://www.exhalefitstudio.com/pricing/

    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?

    #140914

    Hi,

    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){

    $i++;

    $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.

    Regards,

    Josue

    #162317

    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.

    http://apartmenaut.com/services/

    #162760
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Pricing Table Color Classes’ is closed to new replies.