ElkArte Community

Project Support => Support => Topic started by: Mrs. Chaos on May 25, 2018, 03:58:11 pm

Title: How to remove the lines in the tables?
Post by: Mrs. Chaos on May 25, 2018, 03:58:11 pm
Hello!
After importing my SMF to ElkArte, all tables now have horizontal and vertical lines. In the SMF they didn't exist.
How can I remove the lines?
Title: Re: How to remove the lines in the tables?
Post by: emanuele on May 25, 2018, 04:44:26 pm
hmm...
testtest
testtest
Title: Re: How to remove the lines in the tables?
Post by: emanuele on May 25, 2018, 04:46:18 pm
Code: [Select]
.inner > .bbc_table_container > .bbc_table td, .messageContent > .bbc_table_container > .bbc_table td {
border:0;
}
that should work.
Title: Re: How to remove the lines in the tables?
Post by: Mrs. Chaos on May 25, 2018, 04:57:44 pm
On which page shall I do this?
Title: Re: How to remove the lines in the tables?
Post by: Spuds on May 25, 2018, 05:58:43 pm
I think you are using a modified besocial theme and those are the tables inside of posts.

Find your index_besocial.css file and change the following:

Code: [Select]
/* Styling for tables inside posts */
.inner > .bbc_table_container > .bbc_table td,
.messageContent > .bbc_table_container > .bbc_table td {
border-bottom: 1px solid #ccc;
border-right: 1px solid #ccc;
}
.inner > .bbc_table_container > .bbc_table th,
.messageContent > .bbc_table_container > .bbc_table th {
border-bottom: 1px solid #bbb;
border-right: 1px solid #ccc;
}
and change those to none
Code: [Select]
/* Styling for tables inside posts */
.inner > .bbc_table_container > .bbc_table td,
.messageContent > .bbc_table_container > .bbc_table td {
border-bottom: none;
border-right: none;
}
.inner > .bbc_table_container > .bbc_table th,
.messageContent > .bbc_table_container > .bbc_table th {
border-bottom: none;
border-right: none;
}
or just put the above in a custom.css file and leave the other file alone.
Title: Re: How to remove the lines in the tables?
Post by: Mrs. Chaos on May 26, 2018, 02:43:19 pm
Thanks, the lines are not there anymore. I like that better. :)