WordPress.org

Ready to get started?Download WordPress

Forums

Remove borders (8 posts)

  1. RichieP
    Member
    Posted 3 years ago #

    I've tried various ways to remove the borders and seen a few answers in support forums.

    However, I still can't get it to work

    At the moment I've got this code added

    .wp-table-reloaded-id-7 .row-1 th {
    background-color: #E4061B!important;
    color: #FFFFFF!important;
    border: none!important;
    border-spacing: 0px!important;
    }
    .wp-table-reloaded-id-7 td {
    border: none!important;
    border-spacing: 0px!important;
    }

    Whta should I have?

    Thanks
    Richie

  2. TobiasBg
    Member
    Posted 3 years ago #

    Hi,

    can you provide the URL to the page with your table, please?

    Regards,
    Tobias

  3. RichieP
    Member
    Posted 3 years ago #

    I've put it on the site temporarily, as it's not how I want it to look yet. I want to put it on the home page when it looks right.

    http://www.afcwulfrunians.co.uk/the-teams/senior/the-squad/

    Thanks for your help again.

  4. TobiasBg
    Member
    Posted 3 years ago #

    Hi,

    thanks for the URL.
    What you now need to do is change the background color of the table (yeah, sounds weird, but that's how borders work :-) )
    Please add this to your "Custom CSS":

    .wp-table-reloaded-id-7 {
      background-color: #ffffff!important;
    }

    Regards,
    Tobias

  5. RichieP
    Member
    Posted 3 years ago #

    Brilliant, thanks.

    Just one more. The top row is split and I want to add a colspan. However, if I add #colspan with the text in the same cell, #colspan shows in the cell and it doesn't span the 2 cells.

    How can I use #colspan and text in the cell?

    Hopefully you can see what I'm trying to achieve. I want to use a table to replace the images on the home page for the next matches.

    Thanks
    Richie

  6. TobiasBg
    Member
    Posted 3 years ago #

    Hi,

    you will need to use #colspan# (with a # on each side!).
    In the left cell, put your text and in the right cell, put #colspan#.
    Then it should work.

    Best wishes,
    Tobias

  7. RichieP
    Member
    Posted 3 years ago #

    Thanks Tobias.

    You've done it again for me.

    Richie

  8. TobiasBg
    Member
    Posted 3 years ago #

    Hi Richie,

    no problem :-)

    Regards,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Topic