Skip to content

Adding "Half" and "Full" class for galleries defined via front matter #1821

Closed
@kulbhushanchand

Description

@kulbhushanchand

The galleries defined via front matter always have class="third" attribute with them (i.e. they are shown in column of three images).

Is it possible to show them as single images or set of two column images?

I searched the documentation, and this feature is not available (documentation link page)

Please note - It is possible to do by writing html code as -

	<img src="/images/image-filename-1.jpg">
	<img src="/images/image-filename-2.jpg">
	<img src="/images/image-filename-3.jpg">
	<figcaption>Caption describing these three images.</figcaption>
</figure>

But I want to avoid writing html code and to use gallery as -

{% include gallery caption="This is a sample gallery with." %}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions