Is it possible to create a custom module for triggering classes in blog post html?
If a blog post creator enables the trigger in the edit blog view, it will add an extra class to the post-body or vice versa.
It can look something like this:
My main goal is to have a 2 different hero image area layout selection for blog posts. If there's a wide picture , then use class A, if theres a narrow picture then use class B.
U can create one custom module to header of your blog post. In this header u can create one field with the user that will an post, select type of header.
I use this for that Content Editor can disable one content. Look one example:
Is an dropdown field (choose field), when i use the value of options, to change a class of link in custom module.
In content editor
In Design Manager
You can use this to change the header class.
I hope this content helps you.
Did this post help solve your problem? If so, please mark it as a solution.
U can create one custom module to header of your blog post. In this header u can create one field with the user that will an post, select type of header.
I use this for that Content Editor can disable one content. Look one example:
Is an dropdown field (choose field), when i use the value of options, to change a class of link in custom module.
In content editor
In Design Manager
You can use this to change the header class.
I hope this content helps you.
Did this post help solve your problem? If so, please mark it as a solution.