Closed πšŒπš•πš˜πšœπšŽ

Status
Not open for further replies.

Aerxn

Forum Veteran
Joined
Aug 19, 2018
Posts
1,247
Reaction
4,216
Points
796
πšŒπš•πš˜πšœπšŽ
 
Last edited:
Why is your site eating too much RAM? Did you run a load test? Try running it with You do not have permission to view the full content of this post. Log in or register now. or with Google's Lighthouse/PageSpeed Insights.

Did you try width: 30%? Why isn't it working?
 
Why is your site eating too much RAM? Did you run a load test? Try running it with You do not have permission to view the full content of this post. Log in or register now. or with Google's Lighthouse/PageSpeed Insights.

Did you try width: 30%? Why isn't it working?
no sir, imean yung pinaka web page ng school namen is malake kumain ng ram and mahina cignal so mabagal mag load kaya gumawa po ako sarili ko. Yes sir na try ko na din yung width change to 30% not working po. Thank you po sa response
 
no sir, imean yung pinaka web page ng school namen is malake kumain ng ram and mahina cignal so mabagal mag load kaya gumawa po ako sarili ko. Yes sir na try ko na din yung width change to 30% not working po. Thank you po sa response

Thanks for that response. That's one proof why web developers need to optimize their sites. We need to respect people's machine, time, and bandwidth. We should always consider slow networks and low end devices.

I reread your inquiry. So you want the side nav bar to be 30% width? Your open nav function shows you are setting the width to 250px? Is that equivalent to 30% of your screen? If I remember correctly an iPhone 6 plus width is about 450px. So 250px doesn't sound like a fix 30%.
 
Yung Java script mo palitan mo Yung width nun NG 30%

JavaScript:
function openNav() {
  document.getElementById("mySidenav").style.width = "250px";
}
To

Code:
function openNav() {
  document.getElementById("mySidenav").style.width = "30%";
}

Feedback Kung gumana Sana makatulong 😊
 
try mo palitan yung width ng max-width: 30% or gamit ka ng 'vw' for example width: 30vw, yung vw ay 'viewport width' ang ibig sabihin.
 
Status
Not open for further replies.

Similar threads

Back
Top