• Hello,

    since update to wp 6.1.1 “className”:”is-style-regular” in wp:table looks strange (no CSS?):

    View post on imgur.com

    “className”:”is-style-stripes” looks as expected.

    Best
    Felix

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • I have visited your website and it has the class “is-style-stripes” and does not look like the image that you upload, this is how I see it.
    https://prnt.sc/EX22e_sDs-fX

    Did you update the theme (not WP core)? Because if you did, It is possible that if the theme files that had previous custom CSS modifications on that class were replaced with the theme originals.

    Thread Starter flx90

    (@flx90)

    Yes, I changed from is-style-regular to is-style-stripes for all tables because first is broken.

    I didn’t update the theme. Only WP.

    I found table section in style.css but not the styles regular and stripes.
    Can you tell me where I can find this?
    Maybe I can add this as custom CSS.

    BTW. Table should look like this: https://wp-themes.com/hemingway/

    This is the css code that I found on styles.css (from the template) maybe you can add it as custom css to do a quick fix.

    /* Tables ------------------------------------ */
    
    table {
    	border-collapse: collapse;
        border-spacing: 0;
        empty-cells: show;
        font-size: 0.9em;
        margin: 30px 0;
        width: 100%;
    }
    
    tbody {
    	border-top: 1px solid #ddd;
    }
    
    thead + tbody {
    	border-top: none;
    }
    
    th,
    td {
    	padding: 2%;
    	margin: 0;
    	overflow: visible;
    	line-height: 120%;
    	border-bottom: 1px solid #ddd;
    }
    
    caption {
    	color: #444;
    	text-align: center;
    	padding: 2%;
    }
    
    thead {
    	vertical-align: bottom;
    	white-space: nowrap;
    }
    
    th {
    	font-weight: bold;
    	color: #444;
    }
    Thread Starter flx90

    (@flx90)

    Didn’t work.
    But I removed class=”wp-block-table” and now it looks like is-style-regular.

    Thread Starter flx90

    (@flx90)

    But now I cannot move big tables in mobile view.
    Can you help me?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘class is-style-regular in wp:table broken since 6.1.1 update’ is closed to new replies.