I’m messing around making my own child theme and was wondering how one gets 3 widgets in a horzontal row. E.g. like in Executive themes, you can add 3 post or page widgets to Home Top and they sit in a row.
Copy the php from the Executive home.php file and add that to your child themes template.
You’ll then need to copy the css as well and change the values if your theme is a different width.
The php generates the css classes which you can use to find the code in the child themes style.css file.
It can be a fair bit of work to get it right which is why its b est to test locally.
An easier way is to use content columns http://my.studiopress.com/tutorials/content-column-classes/
The columns thing is very straight forward for static content, which is great. Is it possible to though to use it to produce 3 columns with post data in them?
What sought of post data?
I’m doing a recruitment website so might be nice to show say 3 posts in a row in a nice format with those posts being Jobs – I’ll use custom post types for those.
Thanks for you help so far mate.
I wrote about how to do this recently however it will be different for different themes and there are different methods.
home.php versus functions.php
Let me know when you nail it as i’d like to see the result. Cheers
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.