• Resolved hothbricks

    (@hothbricks)


    Version 2.0 messes up the whole website, impacting a lot of CSS code and overtaking on H1, H2, spacing etc…. even on pages where Adverts are not involved at all.
    Had to revert to 1.5.9, too much work to counter those interactions.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    sorry for the problems with the latest version.

    Do you maybe have a test/staging website with version 2.0 and the Elementor that I could look at?

    It would be also great if you could send me a link to the current page that could be helpful as well.

    Plugin Author Greg Winiarski

    (@gwin)

    One additional question if i may. You mentioned the Typography Module is it the one from the Unlimited Elements https://unlimited-elements.com/docs/typography/?

    Also, are you using the free Elementor version or the paid one?

    Anyway, if you could provide any additional instructions on how to replicate this problem will be very helpful.

    I actually did some testing before the 2.0 release with the free version of Elementor and did not see any issues, but of course, my setup was very basic.

    Plugin Author Greg Winiarski

    (@gwin)

    Last update for today i think.

    The source of the problem seems to be the wp-edit-blocks JavaScript which overwrites the Elementor settings, the file is part of WordPress itself although WPAdverts is bundling.

    If you are not using nor planning to use the blocks you can deregister WPAdverts blocks-related scripts and styles which should fix the issue

    
    add_action( "init", function() {
        wp_deregister_style( 'wpadverts-blocks' );
        wp_deregister_script( 'wpadverts-block-categories' );
        wp_deregister_script( 'wpadverts-block-details' );
        wp_deregister_script( 'wpadverts-block-list-and-search' );
        wp_deregister_script( 'wpadverts-block-manage' );
        wp_deregister_script( 'wpadverts-block-publish' );
    }, 20 );
    
    Thread Starter hothbricks

    (@hothbricks)

    it fixes the issue indeed

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    ok great, thanks for the feedback, I just released version 2.0.1 it will load by default the scripts and styles only when needed (so if you are using the shortcodes only it will not load them at all as they are never needed).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Version 2.0 – CSS issue’ is closed to new replies.