K
Kala
New Member
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>
?>
<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>