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

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


  #1  
Old Mar 22, 2012, 11:35 AM
gr870sfunk's Avatar
gr870sfunk
 
110 posts · Mar 2011
Montgomery, AL
[SOLVED] Custom widget not visible but space is still there.

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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
use the plugin 'widget logic' to NOT display the widgt on that page.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 22, 2012, 01:28 PM
gr870sfunk's Avatar
gr870sfunk
 
110 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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
i'm fond of widget logic, but try the one you have and see what happens
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Mar 22, 2012, 02:07 PM
gr870sfunk's Avatar
gr870sfunk
 
110 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
 
110 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 07:31 PM.


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