Wordpress/wordpress

Advertisement


Question
QUESTION: How is it possible to create columns on a wordpress website? I want to create a layout that is similar to a site called upworthy

ANSWER: Hello! You can always create columns in wordpress using some simple code. Some systems enable shortcode, which is slightly easier, but the method I show here will work on any system:



<div style="clear:both; height:300px; width:800px; margin:auto">
<div style="float:left;width:380px; padding-right:40px;">Left Column Content</div>
<div style="float:left;width:380px;">Right Column Content</div>
</div>


Just adjust the column widths to make sense, or use percentage instead of fixed picel width for responsive.

Thanks!

---------- FOLLOW-UP ----------

QUESTION: I'm brand new to w.p. and have basic html knowledge. What folder do I paste that code into and where do I find that folder? I want columns on the front or home w.p. page.

Answer
Go to settings -> reading and set the front page as static, and then select a page from the dropdown to display on the front. Then, go to that page, hit edit page, and paste that code into the code view, perhaps switch from width:380px; to width:45%;

Thanks!

Wordpress

All Answers


Ask Experts

Volunteer


Joshua Jacoby

Expertise

I can answer question related to child theming, creating themes from scratch, modifying a theme with CSS, advantages and disadvantages to a theme, the seo friendliness of your WP site, evaluate the performance, security weaknesses. I can teach you to edit the DB, back it up, and add or change users from phpmyadmin. I can teach how to backup, migrate servers or domains, what types of servers will work best, and a lot more. I can also give advice on some but not all development questions, including things like custom budgeting software and price calculators, as well as good advice on plugins and software integrations.

Experience

I Have builts 120 WP sites in 3 years. I Manage SEO for over 30 companies through the US and Canada.

Education/Credentials
119 credit hours at Arizona State University, at which point I was already making money designing and my degree was business economics, so I figured it might be time for a change.

Past/Present Clients
please see my website, http://myfavoritewebdesigns.com for my portfolio, or contact me for current client references.

©2016 About.com. All rights reserved.