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

HTML

Mainsite-content look different when using firebug

I am trying to convert a site from html to wordpress. When I am developing I use firebug and developer tool in chrome. When I use the tool everything is fine. but when I close firebug the main content jumps to the right of the screen. is isn't that strange? it is just on the hompage this is the problem the other pages are fine? I use the front-page.php for the homepage

1 Answer

Hi Ida,

Is the homepage content short and can usually fit on the screen without scrolling? Is it jumping just a little bit?

My only guess would be is that when you have firebug open you're getting a vertical scrollbar because you have less viewport height with it open and when you close it the scrollbar goes away and the content readjusts to the slightly wider screen.

thank you! it was because of the width of the screen. with small screens it worked but in desktops it jumped to the right. the content jumped from center to the left. I disabled oveflow :hidden in css. and that solved the problem.

thank you for helping!