Solved

Horizontal bar in 480px width and bellow - responsive website

Posted on 2015-01-10
6
94 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
Independent Software Vendors: 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 500 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

Independent Software Vendors: 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!

Question has a verified solution.

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

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

730 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