Solved

Horizontal bar in 480px width and bellow - responsive website

Posted on 2015-01-10
6
92 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Find out what you should include to make the best professional email signature for your organization.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

776 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