Forum Replies Created
-
AuthorPosts
-
mercurialistMember
Thanks, Mary, for the compliment.
Many apologies as it appears you spent lots of time on your reply. Unfortunately, those suggestions aren't helping me do what I'd like to do.
Let's forget the 800px bit. I just want the width of the header content (title + navigation) to align with the width of the body content (i.e. so that the place where the words begin and end is the same on each side – I want the header content to be flush with the body content on both sides).
Let's say – and this actually is true – I really like the current width of the body content. I'd like the header content to be the same width. How do I achieve this?
mercurialistMemberUpdate: I tried Brad's code using a different child theme (Parallax Pro). The code works just fine with this theme, and it's the theme I'll be using for my project. Thanks again, Brad!
There must be an issue with the Apparition theme that prevents the hook from working.
mercurialistMemberThis reply has been marked as private.mercurialistMemberYes, I saved the widget after populating it. I have experimented with a text widget, category widget, and the "meta" widget that displays meta content. Still nothing.
It makes no sense to me why your code wouldn't work for me. Really weird.
mercurialistMemberLauren: I removed the conditional and it's the same problem. I see the widget area in "Appearance>>Widgets," but I nothing changes on the page when I actually place a widget there.
Brad: Thanks for the code. I added it to my functions.php file, only changing the category slug. Same problem, though. Widget area appears in "Appearance>>Widgets," but nothing appears on the site when I actually add a widget.
mercurialistMemberThanks for your help, Lauren. Unfortunately, it's still not working, although I may have missed something when implementing this. Here's the code that I placed in functions.php:
//* Register before post widget area genesis_register_sidebar( array( 'id' => 'before-post', 'name' => __( 'Before Post', 'apparition' ), 'description' => __( 'This is a widget area that can be placed after the post', 'apparition' ), ) ); //* Hook before post widget area before post content add_action( 'genesis_entry_content', 'sp_before_post_widget' ); function sp_before_post_widget() { if ( is_single() && in_category( 'old-blog' )) genesis_widget_area( 'before-post', array( 'before' => '<div class="before-post widget-area">', 'after' => '</div>', ) ); }
The widget is registered, but when I add a text widget, enter some text, and save it, nothing changes.
-
AuthorPosts