Forum Replies Created
-
AuthorPosts
-
January 24, 2013 at 2:36 pm in reply to: Upgraded WordPress and Genesis and now my header is gone #14386Brad DaltonParticipant
Try uploading it again. Is it exactly the same size as displayed in the header page?
Remove: display text in header
Brad DaltonParticipantYou can remove the after footer area with brown background and change the footer background color.
The tutorial i linked to gives you the solution to add the category dropdown menu at the top of the blog page.
Another option is to add the categories to your main menu in a fancy drop down with the parent item named Categories.
The php coding is a very quick job.
January 24, 2013 at 1:20 pm in reply to: Upgraded WordPress and Genesis and now my header is gone #14373Brad DaltonParticipantBrad DaltonParticipantBrad DaltonParticipantHere's a tutorial i wrote earlier about how to create a custom blog page template which allows you to add content before posts on your blog page archives.
It also shows u how to add a widget area before the content so you can simply drag in a custom menu with your category links
Brad DaltonParticipantRoot directory of your child theme. Same location as your functions.php and style.css files
This is the problem.
The functions file contains this code which removes all support for sidebars
/** Register default layout setting */ genesis_set_default_layout( 'full-width-content' ); /** Unregister layouts */ genesis_unregister_layout( 'content-sidebar' ); genesis_unregister_layout( 'sidebar-content' ); genesis_unregister_layout( 'content-sidebar-sidebar' ); genesis_unregister_layout( 'sidebar-sidebar-content' ); genesis_unregister_layout( 'sidebar-content-sidebar' ); /** Unregister sidebars */ unregister_sidebar( 'sidebar' ); unregister_sidebar( 'sidebar-alt' );
Brad DaltonParticipantYes. You can add code to your existing blog page template to display a sidebar on the blog page only.
Try this http://dreamwhisperdesigns.com/genesis-tutorials/load-sidebar-specific-pages/
Adding a horizontal category menu to the blog page would be easier.
Brad DaltonParticipantYou can add a new template for the blog page only which includes a sidebar or second menu with category menu links.
The plugin doesn't work because the theme only supports one menu unless you add support for another, then it will work.
Doesn't matter how many menus you create, if you don't add support for another menu, the plugin won't work.
You'll need to code the custom blog page template depending on what you want it to display.
There's no sidebar on the themes blog page template which is why u need to code a new custom blog page template for that OR add support for second menu and use the plugin.
Many ways to do this.
1. Would u prefer a sidebar
2. Category menuOr both?
Do u want the header and footer on the custom blog page template?
Brad DaltonParticipantAdd it to the menu but move the child page under the parent to the right a bit.
Here's some screenshots
Brad DaltonParticipantYes is doesn't work. I think this is because the theme only supports one menu so you'll need to add support for a second menu and display it where you want. Do u want it displayed on all pages and posts or only on your blog archives page?
What exactly do you want on the blog page template? Do u want the default header?
I created a blog page template like a landing page and removed everything including the header and footer.
Brad DaltonParticipant960 x 100 is the default size.
You could upload a header with your logo and delete the default one or you could add support for custom header and change the height in your child themes functions.php and style.css files.
/** Add support for custom header */ add_theme_support( 'genesis-custom-header', array( 'width' => 960, 'height' => 100 ) );
#header { background: url(images/bg-header.png); border-bottom: 5px solid #c61a1a; min-height: 100px; }
Brad DaltonParticipantInstall the Genesis Simple Hooks plugin and add the code to the locations where you want to output your Ads.
You may also need to use Conditional tags:
Example:
<?php if (is_single() ) { ?> <p>Code-Goes-Here</p> <?php } ?>
Brad DaltonParticipantYou could use the custom menu widget with Genesis simple sidebars plugin for the blog page only. This would display a vertical menu.
Another option is to create a custom blog page template and display the menu on the blog page only.
Can you provide a link to your site please.
Do you want the second menu on all pages or only the blog page archive?
Brad DaltonParticipantUse this code to change the font size in the header right widget:
#header .widget-area { line-height: 1.6875; font-size: 14px; font-size: 0.875rem; }
1 rem = 16px
This theme uses both rem with a pixel fallback for browsers which don't support rem values.
Brad DaltonParticipant#header .widget-area { line-height: 1.6875; }
You can change the line-height value and add other properties to style your header widget.
http://www.htmldog.com/reference/cssproperties/
Not sure what the problem is with your footer because its a very simple process to add 3 widgets there.
Great theme. Wouldn't mind changing to this at some stage!
Brad DaltonParticipantYou might want to layer them on a background using a tool like Paint.net or GIMP if you don't use Photoshop.
If they're the exact same size as your settings, they should be displayed as is.
Brad DaltonParticipantHere's the code for the post meta customization. You can change the conditional tag.
The news theme already includes page/archive navigation links.
If you want next and previous post links, follow this tutorial.
Brad DaltonParticipantChange the height values in functions.php (Line 17) and style.css (Line 193).
/** Add support for custom header */ add_theme_support( 'genesis-custom-header', array( 'width' => 1140, 'height' => 100 ) );
#header { margin: 0 auto; min-height: 100px; width: 100%; }
Brad DaltonParticipantI tested the code with your theme and it works fine so you musthave missed something when creating the footer widgets.
Did you change this?
'height' => 550,
I tested this and it works.
Brad DaltonParticipantUse a conditional tag http://codex.wordpress.org/Conditional_Tags
Or use a page layout with a sidebar on your front page
-
AuthorPosts