Customize Table Layout / HowTo

Permalink Browser Info Environment
Hi team,

how can I customize the layout of a table (e.g., color, cell border, border styles, etc.) in a "Content" block?

I tried several HTML attributes, but it does not seem that they pick-up.

Many thanks for your advice!

Type: Discussion
Status: Resolved
Christian_Ka
View Replies:
Xanweb replied on at Permalink Reply 2 Attachments
Xanweb
Hi Christian,

You have some customization possibilities via content editor "Table Properties".
For example you can use bootstrap classes (screenshot1).
Otherwise if you have some advanced styling you can use custom css via Page Design > Customize > Choose your active preset > Add custom css (Screenshot2)
Example of css to add:
table {
 border: 1px solid red;
}
table td{
 border: 1px solid red;
}


I hope that these tricks might help you.

Kind regards,
Aladin
Christian_Ka replied on at Permalink Reply
Christian_Ka
Hi Aladin,

thank you for your explaination.

This did the trick!

Kind regards,
Christian

concrete5 Environment Information

# Concrete Version
Core Version - 9.0.2
Version Installed - 9.0.2
Database Version - 20220114215506

# Database Information
Version: 10.5.15-MariaDB-1:10.5.15+maria~focal-log
SQL Mode: NO_ENGINE_SUBSTITUTION

# Concrete Packages
Active Cookie Consent (2.1), Pages Carousel (2.0.1), Replica Pro Theme (2.2.0), Timeline (2.0)

# Concrete Overrides
None

# Concrete Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
fpm-fcgi

# PHP Version
7.4.28

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gender, gettext, gmp, hash, htscanner, http, iconv, imagick, imap, intl, ionCube Loader, json, ldap, libxml, mailparse, mbstring, mongodb, mysqli, mysqlnd, OAuth, odbc, openssl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, propro, pspell, raphf, Reflection, session, shmop, SimpleXML, soap, sodium, SourceGuardian, SPL, sqlite3, standard, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 3000
memory_limit - 512M
post_max_size - 200M
upload_max_filesize - 200M
ic24.api.max_timeout - 7
ldap.max_links - Unlimited
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
raphf.persistent_handle.limit - -1
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.84 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.