Inactive User
9 years agoAdd a css class to a OOTB component as a parameter -- or anything, really?
Wondering if there's a way to add a css class to an OOTB component using the param functionality.
For example, I'd like to add "some-class" to the "solution-info" component to easily re-style it (which turns out to be difficult), i.e.,
<component id="solution-info"/>
Gives us, I think:
<span class="lia-thread-solved lia-component-solution-link"> <a class="lia-link-navigation lia-forum-topic-page-solution-link" id="link_7" href="#somelink">Go to Solution</a> </span>
I want to be able to add the class "go-to-solution-arrow" or the like to it. I'd like to do something like this:
<component id="solution-info" param_name="class" param_value="go-to-solution-arrow"/>
and have it render
<span class="lia-thread-solved lia-component-solution-link go-to-solution-arrow"> <a class="lia-link-navigation lia-forum-topic-page-solution-link" id="link_7" href="#somelink">Go to Solution</a> </span>
Any solution that gives me the final result via the quilt or layout would be helpful.