Inline style and CCS
-
Having a bit of a weird issue. I’m trying to set inline style with CCS but it seems values aren’t returned at all. Example:
[related field_name] <div class="box" style="background:[taxonomy level field=level_color];"><h2>content</h2></div> [/related]
This does not work. I’ve tried double brackets and
''
etc. I’ve checked and values do get returned outside the inline style.I’ve also used a Beaver Builder post module, which lets you create custom post layouts with HTML. In essence it’s basically a loop. Inside I’ve set the same style settings as above but in there, they work fine.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Inline style and CCS’ is closed to new replies.