• Resolved trishahdee

    (@trishahdee)


    I was looking forward to using your plugin. However, I use PicoStrap theme (picostrap.com) which uses Bootstrap 5 and has its own compiler. I have tried turning PicoStrap BS CSS and JS off but then my child theme breaks. I tried turning off your BS CSS and JS and then your blocks don’t work right on the frontend. Can you please test on your side and let me know what configuration will allow your plugin to work with my theme? Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author all_bootstrap_blocks

    (@areoimiles)

    Hi @trishahdee

    Thanks for reaching out. I will get a local site setup with Picostrap next week and give this a test. In the meantime please could you send a link to an example or provide me with a little more detail around this bit “and then your blocks don’t work right on the frontend“? In what way don’t they work right? Are they displaying but not styled? Not displaying at all? etc

    This will help me debug and find the right solution for you.

    Thanks
    Miles

    Thread Starter trishahdee

    (@trishahdee)

    With the Tabs Block, the first two tabs work fine but when I try to add a third the ID numbers are different between the tab link and the content. With the Accordion Block, they open but don’t close. I can’t get OffCanvas to work at all as it won’t show up on the page.

    I hope this is enough information to help you.

    Plugin Author all_bootstrap_blocks

    (@areoimiles)

    Hi @trishahdee

    Ah ok. When including the All Bootstrap Blocks CSS/JS there is some custom JS that gets added to make all of the Bootstrap JS functionality work in WordPress. I think if you disable the All Bootstrap Blocks CSS/JS (rely on the Picostrap for styling etc) then add the following into your functions.php file to include just the additional JS that is needed:

    function areoi_enqueue_custom_scripts() {
    wp_enqueue_script(
    'bootstrap-extra',
    AREOI__PLUGIN_URI . 'assets/js/bootstrap-extra.js',
    array('jquery'),
    null,
    true
    );
    }
    add_action('wp_enqueue_scripts', 'areoi_enqueue_custom_scripts');

    Please can you give that a go and see if it resolves your issue?

    Thanks
    Miles

    Plugin Author all_bootstrap_blocks

    (@areoimiles)

    Hi @trishahdee

    I haven’t had any more follow up on this ticket, hopefully that means it’s resolved so I’m going to mark this as complete.

    Feel free to open the ticket back up if the problem continues.

    Thanks
    Miles

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Using All Bootstrap Blocks with PicoStrap Theme’ is closed to new replies.