Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #671265

    Hi,

    I want to remove the table border on mobile devices. I removed all styling of the table with the following command and that works good on desktop devices but not on a mobile device.
    The code i use is:

    /* Remove styling of table element */
    td { background-repeat: repeat-x; background-size: contain; border: none;  }
    .main_color table, .main_color tr:nth-child(odd), .main_color .pricing-table>li:nth-child(odd), .main_color .pricing-extra { background: transparent; border: none; }
    td { background-repeat: repeat-x; background-size: contain; border: none; }
    .main_color table, .main_color tr:nth-child(odd), .main_color .pricing-table>li:nth-child(odd), .main_color .pricing-extra { background: transparent; border: none;  }
     td { border-style: none; }
    tr:first-child td { border-top-style: none; }
     tr td:first-child { border-left-style: none; }
    .alternate_color tr:nth-child(odd) { background: #111111; }

    Can you help me out?
    THX Freek

    #671683

    Hey Freek,

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Best regards,
    Rikard

    #671759

    It’s the table area (with the 4 icons) below the large image. It looks good on desktop but on mobile devices you get a border around the table.
    See private area for the link. THX Freek

    #672716

    Hi,

    use this code inside Quick CSS field:

    .responsive .avia_responsive_table .avia-data-table {
    border: none;
    }
    

    Best regards,
    Andy

    #672768

    Thanks, That did the trick!
    Awesome support.
    Freek

    #672775

    Hey!

    Please do let us know if we can do anything else for you, we would be happy to assist.

    Cheers!
    Basilis

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Remove table border on mobile device’ is closed to new replies.