By using Elementorforum.com’s services you agree to our Cookies Use and Data Transfer outside the EU.
We and our partners operate globally and use cookies, including for analytics, personalisation, ads and Newsletters.

  • Join the Best Unofficial 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!
elementor official

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>
 
elementor official

Latest posts

Latest Products

Other Elementor Resources

elementor official
elementor official
Top