Forum Replies Created
-
AuthorPosts
-
Susan NelsonParticipant
Hi,
I've had great success with this: http://appfinite.com/topic/how-do-i-center-the-entire-primary-navigation-menu/.
Susan NelsonParticipantChris, thanks again SO MUCH for all your help! This code works perfectly:
// Move titles above the content sidebar wrap add_action( 'genesis_before', 'wsm_move_title' ); function wsm_move_title() { if ( is_page() && !is_page_template( 'page_blog.php' ) ) { remove_action( 'genesis_post_title', 'genesis_do_post_title' ); add_action( 'genesis_after_header', 'wsm_show_page_title_text', 2 ); } elseif ( is_page_template( 'page_blog.php' ) ) { add_action( 'genesis_after_header', 'wsm_show_page_title_text', 2 ); } } function wsm_show_page_title_text() { echo '<div class="top-title">'; echo '<div class="wrap">'; echo '<h1>' . get_the_title() . '</h1>'; echo '</div>'; echo '</div>'; }
Susan NelsonParticipantYou're welcome. 🙂
Susan NelsonParticipantHi Craig,
It looks like you've figured this out. But just in case, the instructions are in the Set up the Home Widgets section here.
Susan NelsonParticipantAfter you add the menu items for the sub menu n the custom menu section (Apperance > Menus), you can drag them over to the right to make them indented. That will make them drop down from the parent item on your site.
Check out the Creating Multi-level Menus section here: http://codex.wordpress.org/WordPress_Menu_User_Guide
Susan NelsonParticipantGood morning!
I had to move this over to my development server because I didn't want the client to see it while we're trying to figure this out. So, the link is now http://clients.ohhellodesigns.com/rmedia/
I didn't notice this yesterday, but the latest blog post title is being added to the home page. And this is my current code:
// Move titles above the content sidebar wrap add_action( 'genesis_before', 'wsm_move_title' ); function wsm_move_title() { if ( ( is_page() && !is_page_template( 'page_blog.php' ) ) || !is_single() ) { remove_action( 'genesis_post_title', 'genesis_do_post_title' ); add_action( 'genesis_after_header', 'wsm_show_page_title_text', 2 ); } } function wsm_show_page_title_text() { echo '<div class="top-title">'; echo '<div class="wrap">'; echo '<h1>' . get_the_title() . '</h1>'; echo '</div>'; echo '</div>'; }
Susan NelsonParticipantThank you SO much, Chris! I tried it, but I keep getting the white screen. I'm not quite sure where the error is. I fixed the & #038; & but that still didn't do it.
Susan NelsonParticipantInteresting...
URL to blog page: http://goo.gl/TGS3s
This makes it so the blog posts titles show up, but the page title of Blog and the green background disappear:
if ( is_page() && !is_page_template( 'page_blog.php' ) ) {
This is what I currently have and it allows the Blog page title and green background to show, but the posts titles disappear:
if ( ( is_page() && !is_page_template( 'page_blog.php' ) ) || !is_single() ) {
And then on a single post, the Blog page title and green background are not there. (http://goo.gl/NaKwB)
Susan NelsonParticipantHey Carrie! Thanks for sharing your thoughts. You lost me. haha But I want it for all the pages (not posts).
Chris, thank you so much! I changed the hook to genesis_after_header and it's almost perfect. The blog titles are now gone and I'm not sure how to get them back.
Susan NelsonParticipantI'm not getting it right. Ideally, I would like to do something like this:
<div class="page-title"> <div class="wrap">Page Title Here</div> </div>
I would like .page-title to extend across the page with a background color. And then the .wrap would be a fixed width and centered on the page. A setup just like the #header.....
Hmmm...
Susan NelsonParticipantWell, that example is a non-Genesis theme. But no, I would like the page title to be completely above the content area AND the sidebar.
Just saw your 2nd post - will take a look at that link. Thanks!
Susan NelsonParticipantGlad it worked for you!
Susan NelsonParticipantI've used this with success. http://appfinite.com/topic/how-do-i-center-the-entire-primary-navigation-menu/
Susan NelsonParticipantHi there,
Can you post a live link to your site so we can check it?
Susan NelsonParticipantGlad you got it figured out! Whew!
Susan NelsonParticipantOh wait - strike what I just said. You said you replaced Genesis with a new copy. Hmmm...
Susan NelsonParticipantOh man. Surely the other designer didn't mess with the core?? This only happened after the Georgia theme was applied?
Susan NelsonParticipantSo, just to be clear, if you remove those custom links and then put checks in the boxes of the pages you want to add, they revert to custom links?
Another thought - what does the functions.php file look like? Wonder what would happen if you replace it with the original?
Susan NelsonParticipantSince the issue still happens when you activate just Genesis, I would open a support ticket with StudioPress.
Susan NelsonParticipantI haven't had a chance to experiment with this particular theme.... what size logo image does it require? Can you post a link to your site?
-
AuthorPosts