• Join the Best Wordpress and Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor


    Join us!

Basic html related question

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>
 

Latest Resources

Other Elementor Resources

elementor official

Still stuck? Ask the forum

Post your question with a screenshot and a link if you can, and a member will usually reply within a day. Free to join, no sales pitch.

Create a free account
Top