Set width: 100%, Height: 99 px

THB
69 Posts
THB posted this 25 January 2021
Ask a Question

Dear Nicepage,

I wonder why there is no option to set an Image/Group/Element to have a variable size, instead of a fixed px width.
That would mean instead of setting an objects width to 1200px, you could say 100% width, to cover the whole screen,
and then 200px height to put a max on the shown image.
I know it is very common in html, and it is a really useful way to go about, but can you do that in Nicepage?

Is there a way to implement this attribute?

Best regards Troels,

Dear Nicepage, I wonder why there is no option to set an Image/Group/Element to have a variable size, instead of a fixed px width. That would mean instead of setting an objects width to 1200px, you could say 100% width, to cover the whole screen, and then 200px height to put a max on the shown image. I know it is very common in html, and it is a really useful way to go about, but can you do that in Nicepage? Is there a way to implement this attribute? Best regards Troels,
Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 27 January 2021

Hi Troels,

At this moment, Nicepage does not provide the option to set the width in %%. But if you want to stretch the element to the page width, please use these rules:

page-width-4.png

Please let us know if you have any further questions.

...................................................
Sincerely,
Olivia
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, At this moment, Nicepage does not provide the option to set the width in %%. But if you want to stretch the element to the page width, please use these rules: !page-width-4.png! Please let us know if you have any further questions. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
lingsingqi17
1 Posts
lingsingqi17 posted this 27 December 2023

i have the same issue for this. i want to fit the image to fit the width, for wide screen, pc, tablet and mobile suppose the image fit to the width, but the image only shows 1240px, and the image is not fit to width when i try to do it the way you showed (adjust manually to fit the page)

i have the same issue for this. i want to fit the image to fit the width, for wide screen, pc, tablet and mobile suppose the image fit to the width, but the image only shows 1240px, and the image is not fit to width when i try to do it the way you showed (adjust manually to fit the page)
Support Team
Support Team posted this 27 December 2023

Hello,

Looks like you expanded it to the content width. Please expand it to the Block width as shown on the screenshot above. If the issue continues please create a new private topic and provide the Nicepage Desktop website exported as a Project.

...................................................
Sincerely,
Olivia
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, Looks like you expanded it to the content width. Please expand it to the Block width as shown on the screenshot above. If the issue continues please create a new private topic and provide the Nicepage Desktop website exported as a Project. ................................................... Sincerely, Olivia 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