PDA

View Full Version : CSS Issue Causing Horizontal Scroll


RichieBoy67
01-23-2016, 07:07 PM
Waz up?

I believe it is the header but I am not certain what is causing the horizontal scroll. Only 5 am though so maybe later my iq will be high enough to figure it out but some help would be appreciated. :D

Site is musclemeccadotcom

Just the main theme is having the issue.

Thanks!

Max Taxable
01-23-2016, 07:52 PM
No scrollbar here either in FF or Chrome.

RichieBoy67
01-23-2016, 08:54 PM
Thanks, only happens at lower resolution.

Max Taxable
01-23-2016, 09:12 PM
Thanks, only happens at lower resolution.Ahh, much needed info methinks.

Looks like your header image only wants to scale down to a certain point, then stops.

RichieBoy67
01-23-2016, 11:25 PM
Yeah, I also think it is the background header image not scaling enough. I will try using auto or 100% or cover. If just that image than it should work.

Currently have:

.logo2 {
height: 130px;
margin-left: 560px;
display: block;
background: transparent url(header_bg2.png) no-repeat bottom left;
}


That image is a transparency.

Max Taxable
01-24-2016, 12:11 AM
I think we talked about this over on OzzModz once, I was suggesting taking those 3 images and making them one scale-able, progressive jpeg one?

RichieBoy67
01-24-2016, 12:31 AM
I am thinking maybe I will remove that transparent image and just center the logo.

RichieBoy67
01-28-2016, 12:17 AM
I will have to look into this further because it is not the header that is causing the issue.

##Update - The issue was a stylevar. Min Document width. I set it to auto and all working now.