Parameters: Open Link on New Tab

Hi,

I´m using the button component Atoms (Max), and i would like to add 2 options on the parameters:

  • Width (control button width)
  • New Tab (open link on new tab)

How can i achieve that?
Can´t find an answer on the Themeco docs (parameters).

Thank you

Hey @CulturalInfusion,

Thanks for posting in! You will have to edit the Button component and modify the element parameters. You can add something to the Setup like:

{
  "buttonWidth" : {
    "label"   : "Width",
    "type"    : "size",
    "initial" : "100%"
  }
}

This should give you a width parameter when you use the Button Component.

Thanks.

Hi @ruenel,

Thank you. I don´t know why but it didn’t really work.
I added the parameter correctly and it shows on the edit options.
Did a test on another page, but nothing changes on the button when i use the width function.
What am I missing?

Also, you forgot to provide a parameter for New Tab (open link on new tab)

Edit: I solved both issues.

Hello There,

It is good to know that you have figured out the solution to resolve the issue already.

Cheers.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.