Tagged: ,

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #427342

    Hi,

    I’ve had to resort to the use of HTML inside a text box to create a table. Here is the code:

    <table>
    <tbody style="font-size: 16px !important;">
    <tr>
    <td>Early aging fine lines & wrinkles</td>
    <td>Enlarged pores</td>
    </tr>
    <tr>
    <td>Hyperpigmentation & melasma</td>
    <td>Excess oil</td>
    </tr>
    <tr>
    <td>Sun damaged skin</td>
    <td>Hydration</td>
    </tr>
    <tr>
    <td>Age spots</td>
    <td>Puffy eyes</td>
    </tr>
    <tr>
    <td>Blackheads and whiteheads</td>
    <td>Rejuvenation; overall skin health</td>
    </tr>
    </tbody>
    </table>

    I would like to ask two questions:

    1. Increasing font size – at the moment the “style” is not being recognized and as such the text is only being displayed at 13px instead of 16px.
    2. Is there a better way than using HTML inside a AVIA text element to create a table?

    #427345

    Hi slui ;
    Add a custom css class to your table, and target your table by adding it into your custom css file:
    for example :

    .my-custom-table{  font-size: 16px !important;}
    

    here an image ALB custom CSS

    #427692

    Hi!

    Please turn on custom CSS field for ALB elements- http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then refer to @begrafiks post above.

    @begrafiks
    thanks :)

    Regards,
    Yigit

    #427789
    This reply has been marked as private.
    #427856

    Hey!

    1- Please add following code to Quick CSS

    .page-id-151 .avia_textblock td {
      font-size: 16px!important;
    }

    2- You can use Enfold’s native table element

    Cheers!
    Yigit

    #427970

    Thanks that worked well. I created a seperate class instead of using the page-id.

    I’m also trying to remove the borders of the table. I tried the following code and it did not work:

    /* Table Font - Size Change */
    .product-benefits .avia_textblock td {
      font-size: 16px!important;
      border-top-width: 0px;
      border-left-width: 0px;
      border-right-width: 0px;
      border-bottom-width: 0px;
      text-align: left;	
    }

    The alignment also did not work.

    Can you please assist?

    sl

    #428631

    Hey!

    Use this:

    .product-benefits .pricing-table > li {
      border: 0;
    }

    Regards,
    Ismael

    #428903

    Hi,

    Thank you for this. That pointed me in the right direction to modify everything else in the table. You can close this file off now.

    sl

    #428939

    Hi!

    Glad we could help you. Enjoy the theme and feel free to come back with further questions and/or problems you have.

    Cheers!
    Günter

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Increase Font Size in Table’ is closed to new replies.