Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS

Brandon Brigham
Brandon Brigham
3,716 Points

Adjust the width of blog entries on site I'm working on

Hello,

I have been helplessly trying to just make these three blog entries in the "News" section of this site I'm working on wider and I for the life of me cannot figure it out. Completely frustrated. This seems like it should be so simple.

The site can be found here

http://7df.22a.myftpupload.com/

Click on "News" and you will see the three blog posts - I need them wider to fit the entire page and also adjust for mobile version. Thanks for any advice!

1 Answer

Hi Brandon,

If you have a look around line 1145 in your code you'll see class name : vc_span_3 as well as similarly named classes being used by surrounding elements.

The convention is that there are 12 columns so a fullwidth column using the same naming convention would be: vc_span_12.

To answer your question more directly you would want to change all class names within that row to achieve desired change on line 1145 change the class name to vc_span_1, then vc_span_6 that follows to vc_span_10 and the vc_span_3 follwing that to vc_span_1 and also add any bootstrap sizing classes you required for mobile etc.

To clarify a lil, currently you have a layout using : 3cols - 6cols - 3cols and with suggested changes : 1col - 10cols -1col.

Hope this helps