- This topic is empty.
-
AuthorPosts
-
June 19, 2013 at 11:14 am #45645
ctpweb
MemberHi all,
I’m experiencing some issues with my website responsive design. You can view the site on http://www.onderdedraak.be. When you check it on a smartphone there is a white space on the right that makes it possible to scroll left and right, and that’s not the intention of course. However, I have no idea what is causing this issue.
Can you guys have a look? Thanks!
June 19, 2013 at 11:24 am #139363Paulie_D
MemberYou have this
Which might be affecting the minimum widths.
June 20, 2013 at 4:26 am #139554ctpweb
MemberI can’t find this div at first sight
June 20, 2013 at 4:46 am #139555Sarfaraj
Participantyour code
.tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer {
width: 5000px;
position: absolute;
}
.tp-bullets.tp-thumbs .tp-mask {
width: 500px;
height: 50px;
overflow: hidden;
position: relative;
}all style called in js so change the width on your js file.
this issues is a slider.
issues in setting.css file and another js inherited to style attributes.June 20, 2013 at 7:33 am #139588ctpweb
MemberOkay I found the code in settings.css, but what do I have to change to solve the problem? I changed the width to 100px as a test, but nothing changes.
June 20, 2013 at 8:29 am #139595Sarfaraj
Participantfirst of all you find automatically called height because js called directly height so he not displayed in HTML code.
and check the inspect element threw height in your browser.
I hope you get mistake.
I also give you your code as above so check first code then do the changes.June 20, 2013 at 9:49 am #139606ctpweb
MemberI found out that the code above was cauded because of the slider thumbnails navigation. I removed this navigation, so it seems to be a lot better now. But still I can scroll right and left on a smartphone..
June 20, 2013 at 9:57 am #139608Sarfaraj
Participantok done give me link final updated
June 20, 2013 at 10:07 am #139609ctpweb
Memberwhat do you mean? check http://www.onderdedraak.be on a smartphone, you can still scroll left and right. there seems to be a space on the right, maybe caused by the slider?
June 20, 2013 at 10:18 am #139611Sarfaraj
ParticipantNow all issues is Done replace below code in your css and then check.
.sk_wrapper {
background: url(http://www.onderdedraak.be/gfsb13/wp-content/themes/odd/images/footer_shadow.png) no-repeat;
background-position: 50% 0px;
width: 86.8%
padding-top: 40px;
}
.logoMarginTop {
margin-top: -80px;
}June 20, 2013 at 11:12 am #139619ctpweb
MemberI added this to my css for smartphones:
@media (max-width: 480px) {
.sk_wrapper{
width: 86.8%;
}
}The width is smaller now and seems to fit, but still there is some space on the right which makes it possible to scroll horizontally
June 21, 2013 at 1:30 am #139686Sarfaraj
ParticipantRemove the **margin-left:15px;** in this class **.logoMarginTop**
I also mention to you in above code.
you remove margin-left then checked in your device.June 21, 2013 at 7:54 am #139724ctpweb
Memberawesome, that did the trick! thanks sarfaraj!
last question: can you take a look at the footer? I just can’t get the footer to display correctly on the website, you can see that it’s cropped (problems with height). On an iPad and smartphone it doens’t display correctly either and there seems to be an issue with the shadow. Can you help me out there? Thanks a lot
June 21, 2013 at 9:25 am #139736Sarfaraj
ParticipantCan you give me screenshot of footer.
June 21, 2013 at 9:59 am #139750 -
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.