The Big Spring Sale! Up to 50% off!

properties button

flavio.goedert
2 Posts
flavio.goedert posted this 12 April 2024
Ask a Question

hello

I would like to add an ID to the button, but I can't find the properties of the button that have this option, could you help me?

hello I would like to add an ID to the button, but I can't find the properties of the button that have this option, could you help me?
Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 3 days ago

Hello Flavio,

Button CSS class can be found in the right property panel, select the button element first, see attached.
...................................................
Sincerely,
Anna.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Flavio, Button CSS class can be found in the right property panel, select the button element first, see attached. ................................................... Sincerely, Anna. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
flavio.goedert
2 Posts
flavio.goedert posted this 3 days ago

I previously used Wordpress and there was a “CSS ID” option to assign to the button.
I need to create a link on a button in which it “carries” an ID because I need to use a tracking platform.

Can you help me with this?
Do you have a Skype contact?

Att.

I previously used Wordpress and there was a “CSS ID” option to assign to the button. I need to create a link on a button in which it “carries” an ID because I need to use a tracking platform. Can you help me with this? Do you have a Skype contact? Att.
Support Team
Support Team posted this 13 April 2024

Hello Flavio,

The Nicepage does not support the custom ID attribute on the Button. And not only Nicepage, no one can add a second ID in the coding, because In HTML, an element can only have one unique ID attribute. IDs are meant to be unique identifiers for elements within a webpage. It must be one, and unique, for example, if you use myNetId on the 7th line, you can not use this ID on the 10546th line of coding if they are global. It causes errors. Coding blocks this.

And finally, why do you want to add ID on the button? If you need to catch the button from JS, you can add a class name and then catch by class name from JS, you do not need an ID at all.

If you have any more questions or need any further assistance, feel free to ask!
...................................................
Sincerely,
George.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Flavio, The Nicepage does not support the custom ID attribute on the Button. And not only Nicepage, no one can add a second ID in the coding, because In HTML, an element can only have one unique ID attribute. IDs are meant to be unique identifiers for elements within a webpage. It must be one, and unique, for example, if you use myNetId on the 7th line, you can not use this ID on the 10546th line of coding if they are global. It causes errors. Coding blocks this. And finally, why do you want to add ID on the button? If you need to catch the button from JS, you can add a class name and then catch by class name from JS, you do not need an ID at all. If you have any more questions or need any further assistance, feel free to ask! ................................................... Sincerely, George. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments