Forum Replies Created
-
AuthorPosts
-
juiceman
ParticipantThanks for the info, i did come across some of those links after I posted. Looks like that is the way to go.
Thanks again!
February 15, 2016 at 1:30 pm in reply to: Enterprise Pro header right widget area widget alignment #179090juiceman
ParticipantWhen I inspect, I add the following to the #search-4 and it pushes the cta below.
.header-widget-area #search-4 { display: inline-block; width: 100%; }
Is this the desired result?
juiceman
ParticipantThis got me the solution I needed:
https://wordpress.org/support/topic/removing-sidebars-doesnt-work-in-code
My template now has this:
remove_action( 'get_header', 'ss_sidebars_init' ); remove_action( 'genesis_sidebar', 'genesis_do_sidebar' ); add_action( 'genesis_sidebar', 'bird_directory_sidebar' ); function bird_directory_sidebar() { dynamic_sidebar( 'bird-directory' ); }
This removes the default side bar and replaces it with one that I created using the Genesis Simple Sidebars Plugin.
Thanks again
juiceman
Participant@braddalton, thank you for the response. I should have been more clear. I should have titled this post Trouble Replacing... not removing...
This is an archive template. And I need to use a different sidebar. I'm using Genesis simple sidebars. So I just need to get rid of the default primary sidebar and put the new on in it's place.
The code I am using brings in the new sidebar (if you view the page, it's the light gray "New Sidebar" on top of the search box.)
The code is not getting rid of the default sidebar (which is everything under that light gray box ...starting with the search box widget.)Page is here: Page
This is the current code. Full template is above.
add_action( 'genesis_sidebar', 'child_do_sidebar' ); function child_do_sidebar() { if ( !function_exists( 'dynamic_sidebar' ) || !dynamic_sidebar( 'Bird Directory' ) ) { }}
Thanks again for taking the time.
juiceman
ParticipantThat is only there when you are logged in to the admin panel. Users will not see that. If you just don't want to see it when you are logged in you can hide it in your css:
.post-edit-link { display: none; }
juiceman
ParticipantCan't you just hide it with CSS for front page only?
.front-page .entry-header img.avatar, .front-page .entry-header .entry-meta { display: none; }
January 17, 2014 at 2:30 pm in reply to: Outreach Pro – Change Title Color of Primary Sidebar #85683juiceman
ParticipantYou're welcome!
January 17, 2014 at 2:22 pm in reply to: Outreach Pro – Change Title Color of Primary Sidebar #85680juiceman
ParticipantPlace this:
.sidebar .widget h4 { color: #ffffff; }
under:
.sidebar .widget { background-image: url('http://oldcanyonranch.com/wp-content/uploads/2014/01/background.png'); border-radius: 3px; padding: 30px; padding: 3rem; }
January 17, 2014 at 2:06 pm in reply to: Outreach Pro – Change Title Color of Primary Sidebar #85678juiceman
ParticipantRight,
I don't see .sidebar .widget h4 anywhere in your style sheet. It needs to come after the .widget-title style (line730) in order to override it.
Did you try adding the code above later in your style sheet? (like line 1638, right after:
.sidebar .widget { background-image: url('http://oldcanyonranch.com/wp-content/uploads/2014/01/background.png'); border-radius: 3px; padding: 30px; padding: 3rem; }
January 17, 2014 at 1:41 pm in reply to: Outreach Pro – Change Title Color of Primary Sidebar #85674juiceman
ParticipantAaron,
Just to be sure I'm understanding you, take a look at this link, it is Outreach as well:
http://beradiantbeyou.com/about-radiantly-you/
Is this what you mean?
January 17, 2014 at 1:31 pm in reply to: Outreach Pro – Change Title Color of Primary Sidebar #85671juiceman
ParticipantIt looks like you have your h4 color coming from:
.widget-title { color: #6ab446; font-size: 16px; font-size: 1.6rem; margin-bottom: 20px; margin-bottom: 2rem; text-transform: uppercase; }
You probably have the following further down in your style sheet:
.sidebar .widget h4 { }
Just make it:
.sidebar .widget h4 { color: #ffffff; }
juiceman
ParticipantI have figured out how to get the values of the custom meta boxes in. But only text ones. I have two meta boxes that are file uploads and am unable to get the images to diaplay.
Is there something wrong with the code I'm using?
Also, I cant get the post content to start AFTER/UNDER the two column top section. Is something not clearing correctly? I've tried to clear: both in may ways but can't seem to make it work.
Any suggestions are greatly appreciated! Thanks!
<?php // Template Name: Single Bird Posts remove_action( 'genesis_entry_header', 'streamline_post_image', 1 ); remove_action( 'genesis_entry_header', 'genesis_post_info', 2 ); add_action('genesis_entry_content', 'ssbd_show_views', 1); function ssbd_show_views() { ?> <div class="one-half first"> <?php genesis_image(); ?> </div> <div class="one-half"> <?php add_action( 'genesis_post_content', 'summerfield' ); function summerfield() { genesis_custom_field( 'ssbd_summerview' ); } ?> <p>I can get this paragraph to show, but not the image above.</p> </div> <?php } add_action('genesis_entry_content', 'ssbd_favorite_foods', 10); function ssbd_favorite_foods() { ?> <p><span style="font-weight: 700;">Suggested Feeder Types:</span> <?php genesis_custom_field('ssbd_feedertypes'); ?> <a href="http://wildbirddigest.com/birds/bird-feeders/" title="About Bird Feeders">(about bird feeders)</a></p> <div class="one-third first"> <h3>Seeds/Grains</h3> <?php genesis_custom_field('ssbd_favoredseedgrains'); ?> </div> <div class="one-third"> <h3>Fruits</h3> <?php genesis_custom_field('ssbd_favoredfruits'); ?> </div> <div class="one-third"> <h3>Nuts</h3> <?php genesis_custom_field('ssbd_favorednuts'); ?> </div> <?php } genesis();
-
AuthorPosts