• Resolved manx89

    (@manx89)


    Hi,

    I have problem with Spectra Blocks when I use Crocoblock. I created Single Post Template in Crocoblock using Gutenberg, but when I use on it one of yours blocks, CSS style are not loading.

    There is example: https://wyzynaprzemyslowa.pl/hello-world-5/ . There is orange button. Icon should be on the left side and there should be border radius. When I don’t use Crocoblock, like in home page: https://wyzynaprzemyslowa.pl/ everything is fine, CSS is loading from: uploads/uag-plugin/assets/0/… . How to force loading styles from this path?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello @manx89,

    I am sorry for the inconvenience.

    You can fix your issue by adding below code in the child theme. Please change the post_id in the code with the post id of the listing.

    add_action( ‘wp_enqueue_scripts’, ‘enqueue_scripts_by_post_id’ );
    function enqueue_scripts_by_post_id() {
    $post_id = 12; // id of P1 post
    // Create Instance. Pass the Post ID.
    $post_assets_instance = new UAGB_Post_Assets( $post_id );
    // Enqueue the Assets.
    $post_assets_instance->enqueue_scripts();
    }

    Hope this helps!

    Please let me know how it goes.

    Have a nice day!

    Thread Starter manx89

    (@manx89)

    Hi, thank you ??

    I added this into functions.php changed post ID, but still the same. Styles are not loading.

    Is there any universal solution to add styles? Not only for posts? I love your blocks and I wolud like to use them with Crocobloks on many pages, archives, etc.

    Maybe problem is that when I create template for posts or page in Crocoblock they have their own IDs? Like example below:

    Those are template parts for diferent parts on my website, like archives, footer, etc. “Aktualnosci” are for single post view. And that template part have it own ID. Like everything I create in Crocoblock.

    • This reply was modified 1 year, 10 months ago by manx89.

    Hello @manx89,

    Thanks for writing back.

    Sorry for the inconvenience caused to you.

    We are aware of the template issue and we are working on this issue. We will release an updated version of the plugin as soon as it is fixed.

    Thanks for your cooperation and patience.

    Have a nice day!

    Hello @manx89,

    So sorry for the inconvenience.

    I would want you to know that this issue is still being worked on and is set to be compiled with others as well.

    We’ll keep this thread open until the issue is fixed and we’ll keep you updated.

    Thanks for your patience thus far.

    Thread Starter manx89

    (@manx89)

    Thank you for information ??

    I’m looking forward to an update.

    Regrats

    Hello @manx89,

    The issue is still in the pipeline and will be fixed in the coming releases, however, in the meantime, the API solution is the workaround that has been helping other users solve this issue. If this is still not working for you, I request you open a support ticket from here: https://wpspectra.com/support/ so that we can assist you better.

    Looking forward to hearing from you.

    Hello @manx89,

    It’s been a while since we heard from you. I am going to mark this thread as resolved.

    Feel free to open a new thread in case of any other queries.

    Regards.

    Judith.

    Thread Starter manx89

    (@manx89)

    Hi, I can see there is still problem. How can I open ticket here https://wpspectra.com/support/ ? I would like to have this API solution

    -edit-

    I found it

    • This reply was modified 1 year, 6 months ago by manx89.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Compatibilty with Crocoblock Jet Engine’ is closed to new replies.