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 »

Problems with height on widgets


  #1  
Old Jun 24, 2013, 01:38 AM
sleenie
 
291 posts · May 2009
Texas and New Mexico
Send a message via Skype™ to sleenie
I recently created 2 widgets in the Center Column using the code listed there.

PHP Code:
<?php bfa_widget_area('name=Center top widget area&cells=2&width_1=400'); ?>
I then added:

/* ================================================== */
/* Center Widget Styling */
/* ================================================== */
/***********Background and text alignment for log_widgets***********/
#center_top_widget_area_1, #center_top_widget_area_2 {
text-align: center;
}

I originally added some other styling which all worked fine but I had some issues so I removed everything and started from scratch. The only thing I tried to add to what is above was some height to the widget:

height: 250px;

I use a plugin called Advanced Text Widget Pro. Without the height I have no problems with showing the 2 widgets on the Front page only. The minute I add the height I get blank areas on all other pages where the widgets belong but no content. I've tried other widget controls but get the same results.

I used Firebug and if the height is not added I see nothing on those pages, but the minute the height is added I see the widget code on them. I'm very confused.

Site is under construction, so if access to the site is needed I can give it.

Thanks.
__________________
Sleenie
"Plan your work for today and everyday...then work your plan"
  #2  
Old Jun 24, 2013, 03:31 AM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
In your CSS have two CSS selectors and rules
Rule 1 should should apply to all pages and set the height to zero
Rule 2 should apply to the front page and will set the height to what you want
  #3  
Old Jun 24, 2013, 10:24 AM
sleenie
 
291 posts · May 2009
Texas and New Mexico
Send a message via Skype™ to sleenie
Thanks...I'll work on that tonight. I can't believe I never ran into this before. Have something similar now happening on another site. I think i know what to do.
__________________
Sleenie
"Plan your work for today and everyday...then work your plan"

Bookmarks

Tags
adding height to widgets

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrestling with me widgets - sidebar problems AndrewWalker Sidebars & Widgets 6 Mar 27, 2012 09:21 AM
change widgets background color problems eahing Sidebars & Widgets 2 May 9, 2011 09:16 AM
Changing the height of side "border" in widgets jenny_li Sidebars & Widgets 3 Feb 22, 2011 08:54 AM


All times are GMT -6. The time now is 09:32 PM.


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