Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

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


  #1  
Old Mar 29, 2013, 10:49 AM
dmkjr
 
19 posts · Mar 2013
[SOLVED] New Widget area; side-by-side

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, 11:14 AM
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 12:53 PM.
  #3  
Old Mar 29, 2013, 05: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 01:08 PM
Top and Bottom Widget Images With Widgets in Middle and Two Side by Side littlered03 Sidebars & Widgets 2 Jul 18, 2010 08:10 AM
[SOLVED] How to move widget to right hand side of logo area rungster Header configuration & styling 5 Jun 22, 2010 04:02 PM
[SOLVED] New Widget Area Above Side Bar + Spaces In Side Bar ChrisPanimation Sidebars & Widgets 18 Jan 15, 2010 09:25 AM


All times are GMT -6. The time now is 11:39 PM.


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