Embedded html block on mobile

jrobson180
4 Posts
jrobson180 posted this 10 October 2022
Ask a Question

Hi. I have an embeded html block on my page https://www.jrobson.me/deforestation that displays a Mapbox map. This block isn't resizing for mobile. Is there a way to allow it to do that?
It currently has this code that attempts to resize by device:

<meta name content>

Thanks

Hi. I have an embeded html block on my page https://www.jrobson.me/deforestation that displays a Mapbox map. This block isn't resizing for mobile. Is there a way to allow it to do that? It currently has this code that attempts to resize by device: &lt;meta name content&gt; Thanks
Vote to pay developers attention to this features or issue.
7 Replies
Order By: Standard | Newest
MerlinAZ
2689 Posts
MerlinAZ posted this 10 October 2022

Did you go through each device option from left to right making adjustments?
Including mobile?

Did you go through each device option from left to right making adjustments? Including mobile?
jrobson180
4 Posts
jrobson180 posted this 10 October 2022

Yes I did but I think something in this meta description of the viewport is overriding the block parameters. I've tried tweeking it and googling advice on Mapbox but no luck so far. I thought maybe this is a comon problem with custom html?

Yes I did but I think something in this meta description of the viewport is overriding the block parameters. I've tried tweeking it and googling advice on Mapbox but no luck so far. I thought maybe this is a comon problem with custom html?
jrobson180
4 Posts
jrobson180 posted this 10 October 2022

Just noticed my meta example didn't display properly in my original question:

meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"

Just noticed my meta example didn't display properly in my original question: meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
Support Team
Support Team posted this 11 October 2022

Hi,

According to the page source, the container with the map has a fixed size: 1000px width and 600px height. It looks like it was created as not resizable.

...................................................
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, According to the page source, the container with the map has a fixed size: 1000px width and 600px height. It looks like it was created as not resizable. ................................................... 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
designdealer13
59 Posts
designdealer13 posted this 11 October 2022

If the width is fixed.
You must then generate a unique view for each of your devices and play with hide on this page.

If the width is fixed. You must then generate a unique view for each of your devices and play with hide on this page.
jrobson180
4 Posts
jrobson180 posted this 12 October 2022

If the width is fixed.
You must then generate a unique view for each of your devices and play with hide on this page.

How do I do that in Nicepage? Currently if I edit the html code to change the view size in one format it changes the code across all of them.
Thanks

> If the width is fixed. > You must then generate a unique view for each of your devices and play with hide on this page. How do I do that in Nicepage? Currently if I edit the html code to change the view size in one format it changes the code across all of them. Thanks
Support Team posted this 12 October 2022

Hi,

Nicepage does not control the appearance of the elements added inside the HTML element. You can only control the size of the HTML element itself. Everything inside it should be controlled by custom CSS.

...................................................
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, Nicepage does not control the appearance of the elements added inside the HTML element. You can only control the size of the HTML element itself. Everything inside it should be controlled by custom CSS. ................................................... 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