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 » Header configuration & styling »

How to Hide Dynamic Widget Area for One Page?


  #1  
Old Jun 22, 2015, 01:03 PM
tamdoll
 
5 posts · Dec 2012
Page I'm trying to isolate from the rest of my website: http://www.goffstownlibrary.com/wifi-access
(eventually there will be a button that users should click to agree/proceed to the rest of the site).

I've been able to remove the sidebars via ATO Style & Configure SIDEBARS.
I used CSS inserts to remove the header info for one particular web page as per http://forum.bytesforall.com/showthread.php?t=3123 & it worked great, thank you.

I am still trying to remove a few more pieces from this one particular web page -
The header image had been hyperlinked - how to remove that on this page only
& also , how to remove the DYNAMIC WIDGET AREAS?

In Configure Header Area I have:
%bar1 <?php bfa_widget_area('name=Top of Page Area Spaces &cells=3&before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?> %bar2
%image %page-center %bar1

Thanks for your great forums, I always find the answers I need here.
  #2  
Old Jun 22, 2015, 02:17 PM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
There is a new div section with a class of 'header-image-container-pre' that was added to allow full width headers, so where you have (in CSS Inserts)
HTML Code:
body.page-id-2353 div#imagecontainer {
    display: none;
}
change it to
HTML Code:
body.page-id-2353 div.header-image-container-pre  {
    display: none;
}
to get rid of the dynamic widget areas in the header, look at the source of the page and find the widget area code (the HTML) then code a CSS selector like you used for teh removing the image and put in a 'display: none'.

you could actually combing the two so you have
HTML Code:
body.page-id-2353 <new selector goes here>,
    body.page-id-2353 div.header-image-container-pre  {
    display: none;
}
(and yes I'm going to make you learn how to find the selector)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jun 22, 2015 at 02:24 PM.
  #3  
Old Jul 17, 2015, 12:31 PM
tamdoll
 
5 posts · Dec 2012
Thank you! This has been helpful.
Going to file this away for now since it looks like we're not going to need the page modifications at this time.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find area named "Footer: Content" in Add Dynamic Widget areas JimTrail Sidebars & Widgets 3 Mar 31, 2015 10:43 AM
[SOLVED] Dynamic Widget Areas gr870sfunk Sidebars & Widgets 2 Sep 4, 2014 09:19 AM
[SOLVED] hide new widget area jcpcosta Sidebars & Widgets 3 Apr 29, 2013 10:16 AM
Dynamic Ads into Widget - How? Regist Sidebars & Widgets 9 Aug 29, 2012 12:53 PM


All times are GMT -6. The time now is 12:33 PM.


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