Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Konrad Pilch
2,435 PointsSOme unusual bugs
Hi,
This is my site im developing and i have some unusual bugs.
- The copyrgiht, doesnt break on mobile device, why?
- WHy is thre a white space on navbar on mobile? i mean, you can scroll to the right .
What can i do ? First time see nd i cant even target it.
2 Answers
Samuel Webb
25,370 PointsWhen I minimized my screen, the footer text was 14px. I looked at your media queries and there isn't even any code in them. I'd suggest making that
pin your footer around 10px-12px on the smaller sizes.The problem with that space on the side probably has to do with you're footer having a specific width instead of just 100%. I changed
html,body, andfooterto have a width of 100% and it got rid of that space on the right. Again, that would be something you could put in one of your media queries.
Konrad Pilch
2,435 PointsOne more thing : p on mobile , when igo to nav bar, evenif i put the background, the footer goes throw, even with z-index 9999 the navbar is still somehow behind, do you know how could i solve it ?
And thank you for all this help, i learned new things .
Samuel Webb
25,370 PointsI'm guessing you fixed this since your mobile nav window seems to cover the footer when I checked it out on the contact page.
Konrad Pilch
2,435 PointsI believe its fixed xd ,i havent finished making the mobile nav ,as its like the most boring part in the entire proccess nd id live it to later , but it seem ok tbh, just some changes .
Thank you for all your help, i really appriciate it and i learned new things thath comes handy now :D
Samuel Webb
25,370 PointsSamuel Webb
25,370 PointsI took another look and your footer is too long no matter what size the screen is. You can do all that 100% stuff in the regular CSS and not put it in the media queries. That should fix it.
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsThank you for your reply.
I did what you told me but it still doesnt wokr, and the footer now well, doesnt wokr like ti should but also the copyright doesnt break too. I mean, while i did other sites, this never happend : p
Samuel Webb
25,370 PointsSamuel Webb
25,370 PointsOh also remove this from the footer:
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsI saw the margins, although their in row, i though theres other way to overcome this but well, thank you :D
What do you think abut the copyright? i mean shoutn this break automatic if theres not space? not just go on each other?
Samuel Webb
25,370 PointsSamuel Webb
25,370 PointsLooks like you're trying to use Bootstrap's grid system with that whole
rowthing so here's the grid section of the Bootstrap Documentation, so you can read a little more about it. It would be a little too in-depth for me to get into with you.Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsThank you for all your help, i reallyappriciate it.
DO you think its better to make my own grid system ?
Samuel Webb
25,370 PointsSamuel Webb
25,370 PointsDepends on the situation. That's something I'd say is up to you to decide.