Table cell center alignment is being overridden

Created on 11 January 2022, almost 3 years ago
Updated 27 June 2024, 5 months ago

Problem/Motivation

It looks like the classes ".w3-table td, .w3-table th, .w3-table-all td, .w3-table-all th" are overriding the views table display unless I'm misinterpreting something.

I have a view with table format output with "center" chosen in the settings section of the table. Even if I choose "Add Views Row Classes" on the setup, it appears that the alignment choices for the row are being overridden (by the above classes) and everything is left aligned.

I know this isn't explained very well and I'm no CSS expert but I just want the table cells to be center aligned (horizontally) when I click the center dropdown in the views format.

πŸ’¬ Support request
Status

Fixed

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
  • views

    Involves, uses, or integrates with views. In Drupal 8 core, use the β€œVDC” tag instead.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024