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 » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

[SOLVED] Width Parameter for New Widget Areas


  #1  
Old Apr 9, 2010, 12:50 PM
cab262
 
90 posts · Dec 2009
Is the width_X parameter for new widget areas only honored for multi-cell widget areas?

I checked functions.php and it appears that width is not in the div section for the 1 cell version of a new widget area.

Around line 405 (ata ver 3.4.4)

My goal is to create a widget area that is 25% the total site width, then float it so it doesn't span the bottom of the entire site.


thanks
  #2  
Old Apr 9, 2010, 01:24 PM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
if you are on 3.4.4 using the new widget areas, I would suggest upgrading
see - http://forum.bytesforall.com/showthread.php?t=3938
BUGFIX - 3.4.3/3.4.4 - STEP-BY-STEP instructions for removing 'bad' NEW WIDGET AREA's
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Apr 12, 2010, 12:13 PM
cab262
 
90 posts · Dec 2009
I started out with 3.4.4, so the bad widgets should be an issue. I think that for single cell widget areas, it only wraps them in a div, as opposed to the table, which then the width parameter might play more of a role.

I decided to just add a CSS insert for that div and set the width there.

To recap, I think based on on the functions.php file, width is only applied to those multi cell widget areas, whereas if there is only 1 cell, its simply wrapped in a div, and width not passed to it.

thanks for the post, it might come in handy if I ever inherit an older Ata site.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Styling new widget areas Wimbledon Sidebars & Widgets 6 Dec 13, 2009 08:39 AM
Multiple new widget areas? horsemansarts Sidebars & Widgets 2 Nov 12, 2009 09:18 AM
New widget areas working at all? paulae Sidebars & Widgets 3 Sep 21, 2009 04:49 PM
Widget areas 1 to 4 Ddabrai Sidebars & Widgets 2 Aug 15, 2009 03:48 AM
adding new widget areas? dbweim Sidebars & Widgets 1 Aug 8, 2009 05:28 AM


All times are GMT -6. The time now is 02:44 PM.


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