Why is Minimum height fixed to 10px?

THB
69 Posts
THB posted this 16 January 2022
Ask a Question

Dear Nicepage,

I wonder why is Minimum Height on a header set to being 10 px?

I can manually in the HTML change the style to 2 px, and it works. But why ? And how do I make a permanent change inside Nicepage?

Best regards Troels

Dear Nicepage, I wonder why is Minimum Height on a header set to being 10 px? I can manually in the HTML change the style to 2 px, and it works. But why ? And how do I make a permanent change inside Nicepage? Best regards Troels
Vote to pay developers attention to this features or issue.
8 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 17 January 2022

Hello Troels,

Nicepage built-in presets for the Header require having at least Menu/Hamburger icon, and the Header height is set to 72px in this case. If you delete all the elements in the Header, you can manually set the Header height to 2px in the editor.

Let us know if you have any other questions.
...................................................
Sincerely,
Anna T
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 Troels, Nicepage built-in presets for the Header require having at least Menu/Hamburger icon, and the Header height is set to 72px in this case. If you delete all the elements in the Header, you can manually set the Header height to 2px in the editor. Let us know if you have any other questions. ................................................... Sincerely, Anna T Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
THB
69 Posts
THB posted this 17 January 2022

Unfortunately it is not right. Any Block/Panel, (or the header), has a minimum height of 10px.
I can make a CSS Class where I overrule it, but it is not visible in the editor.

Unfortunately it is not right. Any Block/Panel, (or the header), has a minimum height of 10px. I can make a CSS Class where I overrule it, but it is not visible in the editor.
Support Team
Support Team posted this 19 January 2022

Hello Troels,

Yes, you are correct. Sorry for previously reporting the opposite.
Header minimum height is set to be 10px in the editor because the Height less than 10px is pointless and won't be even visible in the editor.
You can simply delete the Header, hide or use the line instead if you need to mark the border of the next block.

Let us know if you have any other questions.

...................................................
Sincerely,
Anna T
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 Troels, Yes, you are correct. Sorry for previously reporting the opposite. Header minimum height is set to be 10px in the editor because the Height less than 10px is pointless and won't be even visible in the editor. You can simply delete the Header, hide or use the line instead if you need to mark the border of the next block. Let us know if you have any other questions. ................................................... Sincerely, Anna T Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
THB
69 Posts
THB posted this 20 January 2022

I think it is amazing combined with sticky-scroll !
-But then I guess you prefer limitations of opportunities, instead of designing what you aim for.. ?

  • What is the point of having a minimum to exactly 10px?
**I think it is amazing combined with sticky-scroll !** -But then I guess you prefer **limitations** of opportunities, instead of designing what you aim for.. ? - What is the point of having a minimum to exactly 10px?
Support Team
Support Team posted this 21 January 2022

Hello Troels,

We do not aim to limit the opportunities, that is why the additional HTML and CSS codes can be added by the user.
Block height less than 10px is not possible to be set in the editor, which is originally motivated by UI functionality, and this would contradict the element's original purpose.

Let us know if you have any other questions.
...................................................
Sincerely,
Anna T
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 Troels, We do not aim to limit the opportunities, that is why the additional HTML and CSS codes can be added by the user. Block height less than 10px is not possible to be set in the editor, which is originally motivated by UI functionality, and this would contradict the element's original purpose. Let us know if you have any other questions. ................................................... Sincerely, Anna T Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Support Team
Support Team posted this 21 January 2022

Hi Troels,

Maybe you could share what exact design you are trying to achieve so you need to make header 2px height. We would try to help you to achieve еры result if possible.

...................................................
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 Troels, Maybe you could share what exact design you are trying to achieve so you need to make header 2px height. We would try to help you to achieve еры result if possible. ................................................... 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
THB
69 Posts
THB posted this 21 January 2022

Thank you for the response. I have achieved it with CSS, and will maybe post the result some day. Have a nice day :)

Thank you for the response. I have achieved it with CSS, and will maybe post the result some day. Have a nice day :)
Support Team
Support Team posted this 22 January 2022

Hello Troels,

Sure, let us know if you need any further assistance.
...................................................
Sincerely,
Anna T
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 Troels, Sure, let us know if you need any further assistance. ................................................... Sincerely, Anna T 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