Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Correct Code to Align Cells in new 4 Column Widget Area Created in Footer Redux


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jan 18, 2013, 07:25 AM
siefert
 
21 posts · Dec 2009
I have tried all of the suggestions on this thread and i still can't get the footer widget column content to justify to the left, BUT be listed at the top of each cell.

My website is
pineknotfarmandlab.com

Thanks
  #2  
Old Jan 18, 2013, 09:05 AM
lmilesw's Avatar
lmilesw
 
10,100 posts · Jul 2009
Central New York State USA
What is the code you use to create the 4 celled widget area?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Jan 18, 2013, 09:29 AM
siefert
 
21 posts · Dec 2009
<?php bfa_widget_area('name=Footer 4Col Widget Area&cells=4&align=3&align=8&width_1=220&width_2=2 50&width_3=250&width_4=200&before_widget=<div id="%1$s" class="footer-widget %2$s">&after_widget=</div>'); ?></div>
  #4  
Old Jan 18, 2013, 10:09 AM
lmilesw's Avatar
lmilesw
 
10,100 posts · Jul 2009
Central New York State USA
You have to have the proper align properties for the cells. If you look at the page for adding new widget areas there is pretty complete documentation.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Jan 19, 2013, 07:49 AM
siefert
 
21 posts · Dec 2009
I am actually very untrained in this.. so I am a bit lost.
The code I put in was actually from a thread that was addressed the same problem, minus the &=8. The original code was perfect for the columns, it had the headings lined up a the top, however the menu items were not justified to the left. I looked into further threads and one of them said that could be accomplished by inserting the &=8. Which it did justify the items, but then centered all content in the middle of the cell.

I also have an insert in the html/css
div#listcategorypostswidget-6 {
padding-right: 10px;
padding-left: 5px;
text-align: left;
vertical-align: top !important;
}
  #6  
Old Jan 19, 2013, 08:56 AM
lmilesw's Avatar
lmilesw
 
10,100 posts · Jul 2009
Central New York State USA
You really need to learn to understand the code for building the widget area as opposed to looking at someone else's code.

With that said here is the simplest code to build a 4 celled widget area with the content aligned top left and 4 equal size widget areas. You would of course change the name to something helpful.
PHP Code:
<?php bfa_widget_area('name=My new widget area&cells=4&align=9'); ?>
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Last edited by lmilesw; Jan 19, 2013 at 09:20 PM.
  #7  
Old Jan 19, 2013, 04:42 PM
siefert
 
21 posts · Dec 2009
Thanks for your help and suggestions.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Widget Area in footer, not even being created GilbertCenter Multisite 10 Sep 25, 2012 09:47 AM
Align top footer new widget area chycoo Post-Kicker, -Byline & -Footer 2 Jul 19, 2011 02:43 PM
[SOLVED] Correct Code to Align Cells in new 4 Column Widget Area Created in Footer New WordPress Fan Sidebars & Widgets 9 Jul 14, 2011 11:31 AM
New widget area with 2 rows of cells? blueprairie Sidebars & Widgets 2 Oct 27, 2010 11:48 AM


All times are GMT -6. The time now is 08:26 AM.


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