Yes, there is a way to override Bootstrap’s ‘reboot.scss’ styles for headings (h1-h6) on WordPress. One way to do this is by using the !important declaration in your custom CSS styles for the headings. This will override any conflicting styles from Bootstrap’s ‘reboot.scss’ file. Another way is to use a more specific CSS selector, so that your custom styles will take precedence over Bootstrap’s default styles.
You can also use a child theme in WordPress to make changes to the Bootstrap CSS. This will allow you to keep your customizations separate from the parent theme and keep them safe when updating the theme.
Another method is to use
wp_enqueue_style to override the bootstrap CSS.
Last modified: March 3, 2023