+

Images

+

Customised

+

Publishers can use images to provide a visual representation of context.

+

Publishers can use standard Bootstrap image utilities as well as the following custom image features.

+ +

Figures

+

Default HTML5

+

+

To use figures, just add the standard HTML5 figure code in the <div id="qg-primary-content"> element, or add the class qg-fig to any figure element outside of the qg-primary-content element:

+ +

HTML

+

+   <figure>
+     <img src="https://via.placeholder.com/300.png/ccc/ccc" alt="" />
+     <figcaption>
+       Caption text here
+     <div class="figure-credits">Figure credits here</div>
+     </figcaption>
+   </figure>
+                
+ +
+
+
+ +
+ Caption text here +
Figure credits here
+
+
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

+
+
+ +

You can pull this figure left or right (turning it into a cut-in image) by adding the class pull-right or pull-left to the figure element <figure class="pull-right">.

+ +
+
+
+ +
+ Caption text here +
Figure credits here
+
+
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+
+
+ +

You can also unstyled the figure by adding qg-unstyled to the figure <figure class="qg-unstyled">. Unstyled figures also work with pull-right and pull-left.

+ +
+
+
+ +
+ Caption text here +
Figure credits here
+
+
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et + dolore magna aliqua.

+
+
+ +

If you need to remove the standard styling of a figure element in the qg-primary-content element, add the + class qg-nofig to the figure element <figure class="qg-nofig">.

+ +