Solved

Horizontal bar in 480px width and bellow - responsive website

Posted on 2015-01-10
6
91 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error in script 11 43
P tag not forcing line space 2 22
jquery - show / hide div depending on day and time 19 18
Centered Image 2 18
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…
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

943 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now