Title: Include Bootstrap Icon CSS
Last modified: July 11, 2023

---

# Include Bootstrap Icon CSS

 *  Resolved [kyashan22](https://wordpress.org/support/users/kyashan22/)
 * (@kyashan22)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/include-bootstrap-icon-css/)
 * Hi, I checked “Include Bootstrap Icon CSS”, I noticed that now in the Chrome 
   inspector network I have bootstrap-icons.css, bootstrap-icons.css and style.css?
   ver=1688848383 (which contains [@import](https://wordpress.org/support/users/import/)
   url (‘../../src/bootstrap-icons-1.10.2/bootstrap-icons.css’);
   Why does the plugin
   import the same icon css three times?

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

 *  Thread Starter [kyashan22](https://wordpress.org/support/users/kyashan22/)
 * (@kyashan22)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/include-bootstrap-icon-css/#post-16889621)
 * i saw that the wrong file is wp-content/plugins/all-bootstrap-blocks/blocks/button/
   style.css
   That css imports bootstrap-icon if I insert a button block. In my opinion
   this behavior is wrong, which bootstrap css to import should only be done from
   settings, if I already have bootstrap in theme and don’t want css added by plugin,
   I should be able to.
 *  Plugin Author [all_bootstrap_blocks](https://wordpress.org/support/users/areoimiles/)
 * (@areoimiles)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/include-bootstrap-icon-css/#post-16894383)
 * Hi [@kyashan22](https://wordpress.org/support/users/kyashan22/)
 * The reason for this is because there are a number of blocks (the button block
   for example) that allow the user to include an icon. However, if you do not have
   the Include Bootstrap Icon CSS checked then this functionality would not work
   so I have had to include it in the buttons style.
 * I will have a look into removing it from the button style and check if any blocks
   are on the page that require the icon css then enqueueing it in the head instead,
   this way it would only be added to the page once.
 * Thanks
   Miles
 *  Plugin Author [all_bootstrap_blocks](https://wordpress.org/support/users/areoimiles/)
 * (@areoimiles)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/include-bootstrap-icon-css/#post-17092440)
 * Hi [@kyashan22](https://wordpress.org/support/users/kyashan22/)
 * First of all, massive apologies for the delayed response!
 * I have just released an update which resolves this issue. Instead of loading 
   the icon styles multiple time it will now only be loaded once either if the Bootstrap
   Icons are turned on or if a block is on the page that can have icons.
 * Thank you for your patience on this and thank you for making me aware of the 
   issue. If you have any more problems please don’t hesitate to get back in touch.
 * Thanks
   Miles
 *  Thread Starter [kyashan22](https://wordpress.org/support/users/kyashan22/)
 * (@kyashan22)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/include-bootstrap-icon-css/#post-17092521)
 * Thanks

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

The topic ‘Include Bootstrap Icon CSS’ is closed to new replies.

 * ![](https://ps.w.org/all-bootstrap-blocks/assets/icon-256x256.gif?rev=2617070)
 * [All Bootstrap Blocks](https://wordpress.org/plugins/all-bootstrap-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-bootstrap-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-bootstrap-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/all-bootstrap-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-bootstrap-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-bootstrap-blocks/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [kyashan22](https://wordpress.org/support/users/kyashan22/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/include-bootstrap-icon-css/#post-17092521)
 * Status: resolved