Skip to content

Instantly share code, notes, and snippets.

@mrtuvn
Last active August 27, 2020 04:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrtuvn/34ae6f5bce175872e72520c29bcc3b03 to your computer and use it in GitHub Desktop.
Save mrtuvn/34ae6f5bce175872e72520c29bcc3b03 to your computer and use it in GitHub Desktop.
bootstrap4 load with magento base! If you want place bootstrap order load css before theme consider add style via module instead
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<css src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" src_type="url" rel="stylesheet" type="text/css" />
<css src="https://use.fontawesome.com/releases/v5.14.0/css/all.css" src_type="url" rel="stylesheet" type="text/css"/>
<css src="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&amp;display=swap" src_type="url" />
<!-- base styles -->
<css src="css/styles-m.css"/>
<css src="css/styles-l.css" media="screen and (min-width: 768px)"/>
<css src="css/print.css" media="print"/>
<!-- extra styles can define here or include via less -->
<script async="" src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" src_type="url"></script>
</head>
</page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment