• Resolved pblois

    (@pblois)


    Hi

    First sorry for my bad english, i’m french.

    I would like to have fixed columns and not cutting, bit i don’t success to get the horizontal scrollbar. I have installed the plugin “TablePress Extension: Responsive Tables” and use thé mode flip with the shortcode “table id=1 responsive=flip /]” in elementor.
    I also tried to set somme css like “.tablepress-id-1 .column-2 {width: 180px;min-width: 120px !important;}.
    Can you tell me what i am doing wrong?

    Another question: I would like to have thé search field area backgroung in white, which css code i have to use ? (because the search text area background color is thé same as my page color and therefore the field is invisible.

    note: i am using chrome on a tablet.
    Thanks a lot for your answer

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter pblois

    (@pblois)

    Hi,

    You can use the link https://cers05.fr/programme_randonnees/

    Tell me if you need to bé admin.

    Best Regards

    P BLOIS

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for the link!

    It looks like something on your site (another plugin, or probably some code in your theme’s “functions.php” file) is causing JavaScript files to be loaded in “async” mode. This however is not recommended here as it creates problems. You will need to find out how to turn that off on your site (my guess is that it’s a line of code in your theme’s “functions.php” file, or maybe some optimization/caching plugin).

    Regards,
    Tobias

    Thread Starter pblois

    (@pblois)

    Hi

    I use the plugin “Async Javascript” , i turn off thé asunc method and deactivate the plugin.
    I use the plugin Hummingbird , i cleared the cache and deactivate the plugin.
    I cleared the browser cache and the cdn cache.
    However the problem is still there.

    I use the thème blocksy. In the file function.php I have the line:

    <?php
    /**
     * Blocksy functions and definitions
     *
     * @link https://developer.wordpress.org/themes/basics/theme-functions/
     *
     * @package Blocksy
     */
    
    if ( version_compare( PHP_VERSION, '5.7.0', '<' ) ) {
    	require get_template_directory() . '/inc/php-fallback.php';
    	return;
    }
    
    require get_template_directory() . '/inc/init.php';

    If I do a search with the word Async i the file init.php I get:

    Rechercher "sync" (6 résultats dans 1 documents depuis 1 documents recherchés)
      C:\Users\pat\AppData\Local\Temp\fz3temp-3\init.php (6 résultats)
    	Ligne 643: 		$scripts = apply_filters('blocksy-async-scripts-handles', [
    	Ligne 648: 			return str_replace('<script ', '<script async ', $tag);
    	Ligne 653: 		// if the unique handle/name of the registered script has 'async' in it
    	Ligne 654: 		if (strpos($handle, 'async') !== false) {
    	Ligne 655: 			// return the tag with the async attribute
    	Ligne 656: 			return str_replace( '<script ', '<script async ', $tag );
    Thread Starter pblois

    (@pblois)

    Hi

    Another information. I’m trying to change my theme to twenty twenty however the problem is thé same

    Best Regards

    Thread Starter pblois

    (@pblois)

    Hi

    Finally I success to have thé display as I would like to have.

    For that I use thé short code [table id=1 responsive=scroll /]
    With the plugin “TablePress Extension: Responsive Tables” and thé option scroll, I success to have thé horizontal scrollbar.
    However it was not possible to modify the column width using css in options or colums-width in thé short code.
    I success to modify the column width with css in thé additional css in thé thème options.
    like
    .tablepress-id-1 .column-1
    {min-width: 10px !important;
    text-align: center;}

    to modify the search text area background color in thé addotional css in thé thème option i add the css code

    .dataTables_wrapper label input, .dataTables_wrapper label select {
    background-color: white;
    }

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    sorry for the late reply. I was on holidays last week.

    Very nice! Good to hear that it’s working now!

    Best wishes,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘unabld to have fixed columns’ is closed to new replies.