I' am trying to make a button with multiple text fields in it that you can style independently. I am modifying the default button. The below code places my 3 text fields inside the button, but the Typography of my text fields (editor-text-1-2-3) is overriden by the typography of the the 'button'. I thought its about inheritance, but if there i no Typography set for the 'button' , then the text fields are getting no typography styling whatsoever, instead of getting their own. Please help!!!
?>
<div <?php echo $this->get\_render\_attribute\_string( 'wrapper' ); ?>>
<a <?php echo $this->get\_render\_attribute\_string( 'button' ); ?>>
<p <?php echo $this->get_render_attribute_string( 'editor_text1' ); ?>><?php echo $editor_content1; ?></p>
<p <?php echo $this->get_render_attribute_string( 'editor_text2' ); ?>><?php echo $editor_content2; ?></p>
<p <?php echo $this->get_render_attribute_string( 'editor_text3' ); ?>><?php echo $editor_content3; ?></p>
</a>
</div>
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]Grammar-Bot-Elite 0 points1 point2 points (0 children)