HTML Export unique CSS block names

elFal
3 Posts
elFal posted this 02 August 2019

HI all,

We're looking to use the excellent designer to create a site that looks polished - but we are converting the exported HTML to an application.

As we're looking to create a SPA app, it makes sense for us to put all the CSS in the common page header. However, as each page has it's own CSS on export - is there a way to make the section names unique?

e.g. instead of u-section1 something like u-pageName-section1

Thanks,
Lee

HI all, We're looking to use the excellent designer to create a site that looks polished - but we are converting the exported HTML to an application. As we're looking to create a SPA app, it makes sense for us to put all the CSS in the common page header. However, as each page has it's own CSS on export - is there a way to make the section names unique? e.g. instead of u-section1 something like u-pageName-section1 Thanks, Lee
Vote to pay developers attention to this features or issue.
5 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 02 August 2019

Hi Lee,

You can add the custom CSS class name to each Block. Just open the Block options in the right panel and there will be the CSS Class input box, where you can add the desired class name and also include the CSS code itself.

...................................................
Sincerely,
Hella
Nicepage Support Team

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

Hi Lee, You can add the custom CSS class name to each Block. Just open the Block options in the right panel and there will be the CSS Class input box, where you can add the desired class name and also include the CSS code itself. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
elFal
3 Posts
elFal posted this 02 August 2019

Thanks Hella. I'm not looking to add custom CSS, I'm just trying to understand if I can override the default names.

I've attached the examples, I've entered the CSS Class as HomeIntro, however it still exports as u-section-1.

u-section-1 is the name I'd like to change, so they are unique across my pages.

Thanks,
Lee

Thanks Hella. I'm not looking to add custom CSS, I'm just trying to understand if I can override the default names. I've attached the examples, I've entered the CSS Class as HomeIntro, however it still exports as u-section-1. u-section-1 is the name I'd like to change, so they are unique across my pages. Thanks, Lee
Support Team
Support Team posted this 02 August 2019

Hi Lee,

No, you cannot change the default name of the section. I meant that you can only add the new additional name and the custom css for that new class.

...................................................
Sincerely,
Hella
Nicepage Support Team

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

Hi Lee, No, you cannot change the default name of the section. I meant that you can only add the new additional name and the custom css for that new class. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
elFal
3 Posts
elFal posted this 02 August 2019

Noted. Thanks.

Noted. Thanks.
Support Team
Support Team posted this 02 August 2019

You are welcome. Let me know if you have any other questions about Nicepage.

...................................................
Sincerely,
Hella
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 are welcome. Let me know if you have any other questions about Nicepage. ................................................... Sincerely, Hella 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