Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #13152

    Hello!

    After a search I found a topic describing the html code to include tables on the theme. (http://www.kriesi.at/support/topic/responsive-tables)

    I´m using this but each line of a table as an alternate white and light grey background. What html code should I put in each table to remove that efect. I Would like that I all the tables have a white background.

    Thank you for your help.

    #78022

    Hello,

    Remove the class=”alt”.

    Regards,

    Ismael

    #78023

    I tryed that… But I cant make it work… Thats the code:

    <table id=”mytable1a” summary=”The technical specifications” cellspacing=”0″>

    <tbody>

    <tr>

    <th width=”18%”></th>

    <th>CELL 1</th>

    </tr>

    <tr>

    <th>1º Mod</th>

    <td>CELL 2</td>

    </tr>

    <tr>

    <th>2º Mod</th>

    <td>CELL 3</td>

    </tr>

    </tbody>

    </table>

    Thank you for your help

    #78024

    Hi,

    Try adding this code in your Quick CSS or custom.css:

    #mytable1a tr {
    background: white !important;
    }

    Hope this helps. :)

    Regards,

    Ismael

    #78025

    Still not working…

    #78026

    Should I put the code on custom.css?

    #78027

    Hi,

    Yes, add the code to your custom.css. If that still doesn’t work can you post a link to your website so we can see it live?

    Regards.

    Mya

    #78028

    Hello!

    Here it is! http://b1image.com/pt/?page_id=509

    Thank you for your help!

    #78029

    Hi gggg,

    Add this to your custom.css.

    tr:nth-child(2n+1) td, tr:nth-child(2n+1) th {
    background-color: #FFFFFF;
    }

    Regards,

    Mya

    #78030

    It worked perfectly!

    #78031

    Hey,

    Glad it is fixed.

    Regards,

    Ismael

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

The topic ‘Formating Tables’ is closed to new replies.