List Manager Forum

Styling main table listing

User Dean 2025-05-07 02:13:45

I see where css classes can be added to style fields in the input form; is there any way to add classes to the fields in the table listing?

Moonsoft support 2025-05-07 09:41:06

Hi,
this question is arising repeatedly so we have created a version where each column has a specific class name (its internal name), to make it easier to style. If you upgrade you should see class="yourcolumnname" added to each td data of the table and you can start adding

.yourcolumname{
//styles here
}
to the css section.

Even without this class, it was also possible to add styles to your list using the default 'column' selector in css, like any other table. Please check this thread:

<a href="https://www.moonsoft.es/support/forums/5-lm-support/4561-css-not-working-for-me">https://www.moonsoft.es/support/forums/5-lm-support/4561-css-not-working-for-me</a>

The
.mstable th:nth-child(2)

selector is the header of the second column, while

mstable tr td:nth-child(2)

is the second column itself, the data rows.

Here you can specify the width like the example, or any other property like colors, fonts...etc.

Please let us know if you need further help to create any specific style.

Best regards
Silvia Martín
Moonsoft Team


User Dean 2025-05-07 16:24:34

Perfect, thank you. I appreciate your quick responses to my support questions. This ticket can be closed.

Moonsoft support 2025-05-07 16:34:27

Great, closed now, please open a new one if you want to start a new question.
Thanks, regards
Silvia Martín
Moonsoft Team

User Dean 2025-05-07 16:35:19

Perfect, thank you. I appreciate your quick responses to my support questions. This ticket can be closed.

...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!
...
List Manager

Build different lists for your site

Buy now!