Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] New Widget area; side-by-side


  #1  
Old Mar 29, 2013, 11:49 AM
dmkjr
 
19 posts · Mar 2013
I need a little assistance in getting my new widget area to display side by side instead of in a row.

For example


RECENT POSTS CATEGORIES SUBSCRIBE
RECENT POSTS CATEGORIES SUBSCRIBE

Something like that. Right now they are displaying like this:

RECENT POSTS
RECENT POSTS
CATEGORIES
SUBSCRIBE

Thanks,
David
  #2  
Old Mar 29, 2013, 12:14 PM
jerryc
 
367 posts · Oct 2012
Florida
I'd use nested percentage grids.

Go to:

Dashboard > Appearance > MZ options > CSS Settings > Choose CSS Grid

and choose a percentage based grid layout.

In your template, within your sidebar area, put the following code:

HTML Code:
<div class="row">
  <div class="col4"><?php dynamic_sidebar ('recent-posts'); ></div>
  <div class="col4"><?php dynamic_sidebar ('categories'); ></div>
  <div class="col4"><?php dynamic_sidebar ('subscribe'); ></div>
</div> 
Then, in your widgets, you'll see the three new widgets. Put in the code for each one.

They should be side by side.

If you're putting them into your header or footer, adjust the code accordingly.

Afterthought: If you're putting them into your header or footer, you may not even need percentage based grids.

Last edited by jerryc; Mar 29, 2013 at 01:53 PM.
  #3  
Old Mar 29, 2013, 06:25 PM
dmkjr
 
19 posts · Mar 2013
Thanks for the reply. Using Google helped, but not as much as I hoped. I just missed the part where the admin panel would automatically update when the .php template calls for the widget area.

Now that I understood that, it was cake.

Thanks again!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] New widget area stacks widgets - want them side by side Mykhailo Sidebars & Widgets 4 Dec 8, 2010 02:08 PM
Top and Bottom Widget Images With Widgets in Middle and Two Side by Side littlered03 Sidebars & Widgets 2 Jul 18, 2010 09:10 AM
[SOLVED] How to move widget to right hand side of logo area rungster Header configuration & styling 5 Jun 22, 2010 05:02 PM
[SOLVED] New Widget Area Above Side Bar + Spaces In Side Bar ChrisPanimation Sidebars & Widgets 18 Jan 15, 2010 10:25 AM


All times are GMT -6. The time now is 06:12 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.