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

CSS

Liam Roach
Liam Roach
16,787 Points

Centering an image when using a grid

I am using a grid system and struggling to get my logo to center I have it set as grid 12 and omega but it just stays at the left! Any ideas?

1 Answer

Ricardo Diaz
Ricardo Diaz
30,415 Points

Hi Liam,

Do you perhaps have a link so we can see the problem? But from what you posted up I would guess that maybe you need to place the logo inside a div set it to grid 12 then place the logo in its own container and set it to the center. However I don't know what you are using so I'm guessing.

But I don't know how big your logo is or if you have it taking up the whole screen. So this is completely a guess on my part.