dcummings
Members
-
Joined
-
Last visited
Reputation Activity
-
dcummings reacted to rbrtsmith in How do I change this? CSS issue (div)I told you exactly what to do in my above post.
-
dcummings reacted to rbrtsmith in How do I change this? CSS issue (div)There are media querys on his website. The responsive side of things works fine.
The problem with your spacing is .home-banner-wrap has margin applied to it. So on the small screens you want to reduce the margin-top of this element.
By the way your CSS needs some serious re-factoring. Way too much use of !important, when I see lots of important it's like a red flag. The only time you should EVER use !important is when you know for certain that this property will never change and you don't want another developer accidentally overriding it. You should not use it because of specificity issues like you are having in your page, it makes your code unnecessarily difficult to maintain and update.
Have a read through this post by a css guru who explains where the css in your page could do with a rethink http://csswizardry.com/2012/11/code-smells-in-css/
-
dcummings reacted to sash_oo7 in How do I change this? CSS issue (div)I don't see any "media queries" in your css?
If you don't know about that.... google "responsive webdesign tutorials" and "media queries"