targtag="span" targpos="inline"
Note: if your theme uses :befor and :after pusdo classes for span we need to assign special classes to remove these.
trigclass="span_fix" targclass="span_fix"
CSS
.my_trigger:hover {
text-decoration: underline;
}
.span_fix {
padding: 0 !important;
margin: 0 !important;
}
.span_fix:before, .span_fix:after {
content: none;
}
Inline Trigger Text
[expand title="just some text as an in-line trigger" tag="span" targtag="span" targpos="inline" trigclass="my_trigger span_fix noarrow" targclass="span_fix"]...[/expand]
Demo 01:
This is an example of some text with [expand title="just some text as an in-line trigger" tag="span" targtag="span" targpos="inline" trigclass="my_trigger span_fix noarrow" targclass="span_fix"]...[/expand] with some small text at the end.
This is an example of some text with just some text as an in-line trigger with some more text coming after. The Central African jungle? We’ve been there. The tunnels under Sao Paulo where you’ll find some of the world’s best art? Sure. Penguins? We love them – just be careful about that wave that’s about to hit our cinematographer there in the center of that photo. with some small text at the end.
Demo 2:
[expand title="the_title" tag="h4" targtag="span" targpos="inline" targclass="span_fix" excerpt="the_excerpt"]the_content[/expand]
WANT TO HAVE COFFEE?
We come out of an award-winning documentary heritage and decades of global experience. That means intellectual curiosity and rigor. It also means we know how get anywhere, anytime, and have the expertise to never miss a moment.<span id="target-id6762f7055583e" class="collapseomatic_content_inline colomat-inline span_fix"> The Central African jungle? We’ve been there. The tunnels under Sao Paulo where you’ll find some of the world’s best art? Sure. Penguins? We love them – just be careful about that wave that’s about to hit our cinematographer there in the center of that photo.</p>
<p>Now new camera technology is helping us push the creative possibilities far past the documentary. Never before were the world’s best cameras also the most portable. Today we can do things we only dreamed of doing just a few years ago. And our dreams are epic.</span>