Solved

Horizontal bar in 480px width and bellow - responsive website

Posted on 2015-01-10
6
90 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 1

Author Comment

by:Fajer39
Comment Utility
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
Comment Utility
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
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
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…
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…
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)

763 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