Skip to content

Adds class to slides with caption#218

Open
szalonna wants to merge 2 commits into
arielsalminen:masterfrom
szalonna:master
Open

Adds class to slides with caption#218
szalonna wants to merge 2 commits into
arielsalminen:masterfrom
szalonna:master

Conversation

@szalonna

Copy link
Copy Markdown

If slide has a 'p' element (as a caption), adds a 'with-caption' class to slide. With this can make different formatting for slides with and without caption.

Comment thread responsiveslides.js Outdated

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May change 'p' element checking to custom variable to make possible to assign custom element as caption.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant