Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Horizontal bar in 480px width and bellow - responsive website

Posted on 2015-01-10
6
Medium Priority
?
110 Views
Last Modified: 2015-01-17
http://7lstudio.cz/ Why is here a horizontal bar after 480px width and bellow? When you slide to the right, there's an white space.
h-bar.png
0
Comment
Question by:Fajer39
  • 3
  • 3
6 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 40542273
After waiting 10 seconds for the page to load I abandon the effort, and I will just have to guess that you have a width value set too wide for some element and that causes the scroll bar or you have an error in mediadia queries.

I don't know many users that are going to wait over 10 seconds for a page to load so you might want to determine what is causing that before you worry about how it looks,

Cd&
0
 
LVL 1

Author Comment

by:Fajer39
ID: 40542333
Sorry, It's a FREE hosting from my client and I just do a side job on it- it's blocking connection from abroad adresses I guess, I tried to test it by proxy and It doesn't load as well, but for a CZ users it works. Try to look here please http://beta2.webolo.cz It's the site on my testing server. Client said that he will choose a better hosting soon because that was a first thing that I recommend to him...
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 40542384
It looks to me like the problem is .slide-wrapper the dimensions are in pixels and that is not being modified in most of the media-queries. it may be that the player cannot be made smaller, and if it being removed, but if its container is still there as an empty element it will use some layout space.

As soon as you introuduce any fixed value dimensioning into a page it complicates responsive design.  Using percentages makes it reactive but to actually be responsive you need to use un/its if measure that are environmentally responsive like em, vh, and vm.

I think you might have to go through the media queries to make sure that all elements associate with the slide show are accounted for all resolutions.

Cd&
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:Fajer39
ID: 40542953
Thanks for you answer.

I try this quick fix but it doesn't work


@media (max-width: 500px) {

         /*test whitespace remove*/
	.slide-wrapper {
		width: 100px;
	}
	.tablet {
		background: transparent;
		width: 100px;
	}
	.slide-container {
		width: 80px;
	}
	/*end of test whitespace remove*/
}

Open in new window



That's all fixed pixel elements which are associated with the slider. Still slide-wrapper has display:none property so it shoudn't affect the layout in the first place.

Do you please have any other ideas how to solve it?
0
 
LVL 53

Assisted Solution

by:COBOLdinosaur
COBOLdinosaur earned 1500 total points
ID: 40543209
Well somewhere in there you have something that is set too  wide.  I would suggest you use inspected and look at the computed value of each element until you find what is too wide.

You should also try it on several different devices to see if it is a device specific problem, some mobile devices (especially Apple) do not correctly implement standards and may require special handling.

You might also be trying to over-extend the use of media queries.  Many professionals have reduced the use of media queries in favor of server alternate pages to simplify maintenance.

Cd&
0
 
LVL 1

Accepted Solution

by:
Fajer39 earned 0 total points
ID: 40544462
You're right, it were the language icons onthe landing page in the up right corner which wasn't my work. Finding a bug on a site you didn't do is the worst hell :-))

Thanks for your help.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question