Table border change

5 Commentaires

  • Pulkit Pandey
    Community Moderator

    Hey Aysan Haghani

    As per I understand your query is that you want to remove the border from the table which is appearing on your table.

    As per my understanding, I am sharing my Solution, please place the following CSS at the bottom of your style.css file 

    th, td {
    border-bottom: 0 solid #ddd;
    }

    .table tr {
    border-bottom: 0 solid #ddd;
    }

    Let me know if it solves your issue

    Thanks 

    Pulkit

    0
  • Aysan Haghani

    Hi Pulkit,

    Thanks for your reply, I want to remove just the main borderline, but keep the th and td borders as  is in the screenshot 

     Thanks

    0
  • Pulkit Pandey
    Community Moderator

    Hi Aysan Haghani

    Are your HC is live, can you share with me a URL of that article which holds the tables so that I go through it and come up with the solution

    Thanks 

    Pulkit

    0
  • Aysan Haghani

    Hello,

    Yes the HC is alive and I testing this in the sandbox as well, not sure how to provide you with an URL in a public forum? 

    I added the table code in the first post, If you could kindly point me to the right way to add 

    table {
    table-layout: fixed;
    border: 0px ;

    as I have added this code in several ways but seems Border:1px overrides it. 

    0
  • Pulkit Pandey
    Community Moderator

    Hey Aysan Haghani

    Just add the code you shared above at the bottom of your style.css file 

    Thanks

    Pulkit

    0

Vous devez vous connecter pour laisser un commentaire.

Réalisé par Zendesk