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 »

[SOLVED] Custom widget not visible but space is still there.


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 Mar 22, 2012, 11:35 AM
gr870sfunk's Avatar
gr870sfunk
 
108 posts · Mar 2011
Montgomery, AL
I have a custom widget area in the header for a call to action (http://www.togetherwesoar.org/the-fa...arter-schools/ and it is on basically every page, except the TV Ad category (ttp://www.togetherwesoar.org/category/tv-ads/).

Here's my problem: the stupid space for the widget is still there.

I have tried all of the following using ".category-3" and ".category-tv-ads" to no avail:
HTML Code:
...#call-to-action_widget{
display: none;
}

...#header #call-to-action_widget{
display: none;
}

...#call-to-action_widget{
display: none;
}

...#header #call-to-action_widget .bfa_widget_area{
display: none;
}

...#call-to-action_widget .bfa_widget_area{
display: none;
}
Any help would be GREATLY appreciated! Thanks!!
  #2  
Old Mar 22, 2012, 11:51 AM
juggledad's Avatar
juggledad
 
22,191 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
use the plugin 'widget logic' to NOT display the widgt on that page.
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #3  
Old Mar 22, 2012, 01:28 PM
gr870sfunk's Avatar
gr870sfunk
 
108 posts · Mar 2011
Montgomery, AL
I currently am using a similar plugin called "Display Widgets" and i've never run into a problem with it.

I installed widget logic, but either it's not working or i'm not doing it right.

I put the following into the widget logic field:

HTML Code:
!is_page('tv-ads')
After creating two new pages, i'm noticing that the space is in EVERY new page....

Last edited by gr870sfunk; Mar 22, 2012 at 01:45 PM. Reason: update
  #4  
Old Mar 22, 2012, 01:42 PM
juggledad's Avatar
juggledad
 
22,191 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
i'm fond of widget logic, but try the one you have and see what happens
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #5  
Old Mar 22, 2012, 02:07 PM
gr870sfunk's Avatar
gr870sfunk
 
108 posts · Mar 2011
Montgomery, AL
the plugin i use has you either show or hide pages, categories, etc... with a box checked next to them and I have them set on "show on checked". None of the pages or the category have the box checked next to them which is why the widget isn't actually showing up.

It's the space where the widget should be that won't go away. I turned off plugins and nothing has seemed to work.

HTML Code:
	<td id="header" colspan="1">
...
<div id="header-container">
<div id="logo">
	<a href="http://www.togetherwesoar.org"><img src="http://togetherwesoar.org/wp-content/themes/atahualpa/images/SOAR-logo-header.jpg"  alt="SOAR: Sounds Options for Academic Reform"/></a>
</div>
<div id="homeimage"><div id="imagecontainer" class="header-image-container" style="background: url('http://www.togetherwesoar.org/wp-content/themes/atahualpa/images/header/header3.jpg') top center no-repeat;"><div class="codeoverlay"></div><div class="opacityright">&nbsp;</div></div></div>
</div>
<div id="call-to-action_widget" class="bfa_widget_area"></div>
		</td>
if you look in the code - the widget is still showing up, but there's nothing in the div tags.

Last edited by gr870sfunk; Mar 22, 2012 at 02:16 PM. Reason: update
  #6  
Old Mar 22, 2012, 02:23 PM
gr870sfunk's Avatar
gr870sfunk
 
108 posts · Mar 2011
Montgomery, AL
ok nevermind - i found out what the problem was...I'm an idiot.

I had the "header-container" surrounding my header image and logo set to a height of 300px. Once I switched it to 200 (which it should have been in the first place), everything went to where it should be. Just had to adjust the margin-top property for the call to action widgets....

*facepalm* Ugh- just shows you what more and more digging can lead to.

Thanks for your help though, Juggle.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to add space between entries in Pages Widget drunk8gods Sidebars & Widgets 3 Jul 9, 2013 03:30 AM
[SOLVED] Space between Widget List Items configurable? upscho Sidebars & Widgets 10 Jul 3, 2012 05:15 PM
BUGFIX 361-04: Allow Custom Menu widget links to use same styling as Pages widget. juggledad Old Version fixes and change logs 1 Jan 22, 2011 08:40 AM
How to set the space between Icons in Catergory Widget? Ber|Art Sidebars & Widgets 3 Dec 4, 2009 04:37 AM
Removing space between <li> tags in widget desell Sidebars & Widgets 2 Oct 24, 2009 02:33 AM


All times are GMT -6. The time now is 06:28 AM.


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