Skip to main content
Topic: How to remove the lines in the tables? (Read 1467 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to remove the lines in the tables?

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?
ElkArte version: 1.1.8 / Theme: BeSocial / PHP 8.0

Re: How to remove the lines in the tables?

Reply #1

hmm...
testtest
testtest
Bugs creator.
Features destroyer.
Template killer.

Re: How to remove the lines in the tables?

Reply #2

Code: [Select]
.inner > .bbc_table_container > .bbc_table td, .messageContent > .bbc_table_container > .bbc_table td {
border:0;
}
that should work.
Bugs creator.
Features destroyer.
Template killer.

Re: How to remove the lines in the tables?

Reply #3

On which page shall I do this?
ElkArte version: 1.1.8 / Theme: BeSocial / PHP 8.0

Re: How to remove the lines in the tables?

Reply #4

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.

 

Re: How to remove the lines in the tables?

Reply #5

Thanks, the lines are not there anymore. I like that better. :)
ElkArte version: 1.1.8 / Theme: BeSocial / PHP 8.0