• Resolved royco85

    (@royco85)


    I suddenly have a problem with my Grid in the Valenti Theme. Before I went on holiday everything worked fine. Now the grid only seem to work on Internet Explorer and not in Chrome anymore. U can take a look at the website over here: https://www.kickboxingplanet.com/

    I already tried to disable all the plugins and turned them on 1 by 1 to see which one was causing trouble, but it seems this had nothing to do with the grid problem. I also checked for the latest theme update, but it seems I’m already running the latest version.

    I guess it has something to do with the latest Google or Chrome update…

    Hope you guys have some feedback for me! Thanks in advance.

    Best regards,

    Roy

Viewing 15 replies - 16 through 30 (of 48 total)
  • Awesome! So delete the code and save the file.

    Thread Starter royco85

    (@royco85)

    Now I’ve got the right 1 for 100% I see theres a possibility to edit it also but it opens up in the textual editor from windows I guess its called notepad or something like that in English… If I use File -> Safe, would it be fixed then?

    You can use notepad to edit the file. You just need to remove the code that you added. If FileZilla has a built in file editor that will work as well.

    Thread Starter royco85

    (@royco85)

    omg I’ve fixed it haha thank you so much

    Ok, now for the main problem resolving the Chrome error.

    Thread Starter royco85

    (@royco85)

    Yeah I’ve put the code in function.php at the bottem.

    What happned was, that the code would appear on top of the side but no changes… So it started to try different place like a little higher untill I messed it up.

    So you fixed it?

    Thread Starter royco85

    (@royco85)

    No when I did that, we got like the problem from the past half hour ??

    Thread Starter royco85

    (@royco85)

    Copying this code

    add_action(‘admin_enqueue_scripts’, ‘chrome_fix’); function chrome_fix() { if ( strpos( $_SERVER[‘HTTP_USER_AGENT’], ‘Chrome’ ) !== false ) wp_add_inline_style( ‘wp-admin’, ‘#adminmenu { transform: translateZ(0); }’ ); }

    at the bottem of function.php caused the trouble.

    I think this is the same code but try it.

    add_action('admin_enqueue_scripts', 'chrome_fix');
    function chrome_fix() {
    if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Chrome' ) !== false )
    wp_add_inline_style( 'wp-admin', '#adminmenu { transform: translateZ(0); }' );
    }
    Thread Starter royco85

    (@royco85)

    Oke tried it, but no result at all. I pasted it at the bottom of function.php

    Did it cause an error or just do nothing?

    Thread Starter royco85

    (@royco85)

    No totally nothing no error website works fine, problem will stay tho

    Did you try what @neejoh suggested?

    Thread Starter royco85

    (@royco85)

    Go to chrome://flags/#disable-slimming-paint
    Enable the “Disable slimming paint” option.
    Ensure that the “Enable slimming paint” option below it is not turned on.
    Relaunch Chrome.

    I did this, but it didn’t do anything. I did exactly what was told, restarted the browser even deleted the cache to make sure. But still no difference.

    ———————————————————————–

    Okay, by the looks of things there might be something you can do. It’s a confirmed issue on both core.trac.www.ads-software.com and the Chromium project. It might need a temporary fix until the bug is fixed and pushed to the stable version of Chrome. I would start with putting transform: translateZ(0); on the affected elements as mentioned in those tickets.

    This is the second one. What does he exactly mean with the affected elements? I’m sorry for not understanding, I’m Dutch and trying hard ??

Viewing 15 replies - 16 through 30 (of 48 total)
  • The topic ‘(Chrome) Grid problem. Text will, but featured image won't show up’ is closed to new replies.