Create a css class for Image field in Views
In Views, when adding an image field there's no way I can add a css class to the image tag. For example, if I were to shape the image to a circle using bootstrap I have to add a .rounded-circle
class to the image and I couldn't find a way to do it. So I think it's conveninent and important to have such function added to the views.
<img src="cinqueterre.jpg" class="rounded-circle" alt="Cinque Terre">
Here just a sample I imagine how it would look like or something similar. Please consider. Thanks!
Recent comments
Welcome to Backdrop! For your setup, you’ll want to create a subtheme of Bootstrap5 Lite itself; the Bootswatch styles (like Cerulean) are just presets that B5 Lite loads, and you can “lock in”...
Basic Theme designing questions, using Bootstrap5 Lite
Hi Rob, Welcome to Backdrop! Here’s a quick overview: Subtheming Bootswatch: You should create your subtheme based on Bootstrap5 Lite, not directly on a Bootswatch style....
Basic Theme designing questions, using Bootstrap5 Lite
Hi Rolf, This happens because CKEditor saves absolute or semi-absolute paths in the HTML instead of using Backdrop’s file stream wrappers (like public://). When you move your site...
Losing link to embedded pictures when moving my installation