Forum Replies Created
-
AuthorPosts
-
efullerMember
It appears the background is set correctly on your site.
I see 2 solutions to this off the top of my head.
1. Make your background image wider...perhaps 1920px wide.
2. Set the 'background size' to 'cover' in your CSS file:
body.custom-background { background-image: url('http://www.tditechsolutions.com/wp-content/uploads/2014/07/Homepage_BG.jpg'); background-repeat: no-repeat; background-position: top center; background-attachment: fixed; background-size: cover; }
I am a web developer
efullerMemberLocate this section in your CSS file:
.beautiful .site-header-banner { height: 200px; }
Just change the height to whatever you want it to be. Take note that you will need a background image that meets the same height requirements or it will repeat.
I am a web developer
efullerMemberI guess what we didn't account for was that we need to show taxonomy values instead of category values within the front-end widget output.
I'll see if I can sort the code and get something that functions for you.
I am a web developer
efullerMemberIf you javascript file is being loaded correctly, then there must be a problem with your custom JS code?
Have you checked the console in dev tools?
Have a link we could check out?
I am a web developer
efullerMemberOk. I think I understand what you are trying to do.
But I have a different solution you might try using CSS.
Why not remove the background from .site-header and .nav-primary. Then apply those background colors instead to the respective wraps.
Like this:
.site-header .wrap { background-color: #6ab446; } .nav-primary .wrap { background-color: #6ab446; }
Obviously, the CSS would need tweaked, but this would make it look like the header and navigation to not extend full width.
I am a web developer
June 23, 2014 at 12:01 pm in reply to: Active State for Blog Menu Item for Individual Blog Posts #111188efullerMemberI do not believe this is the default behavior of the Genesis navigation. It will highlight active pages, but not pages that belong to a specific category.
I am a web developer
efullerMemberSure thing. It's a pretty simple fix.
Open up the plugin.php file and look at the code starting on line 227. There should be 10 lines of code that all look like the one I will post here. They make up the dropdowns made available in the widget.
You will want to change each one that you want to show a taxonomy. (they will no longer show categories)
You will be adding an argument to the end of the 'wp_dropdown_categories' function. The text you will want to add will be this:
, 'taxonomy' => 'taxonomy_name'
Where 'taxonomy_name' is the name of the taxonomy you want it to pull from.
Here is a full line with the addition:
<p><?php wp_dropdown_categories( array( 'name' => $this->get_field_name( 'posts_cat_1' ), 'selected' => $instance['posts_cat_1'], 'orderby' => 'Name' , 'hierarchical' => 1, 'show_option_all' => __( "- None Selected -", 'genesis' ), 'hide_empty' => '0', 'taxonomy' => 'taxonomy_name' ) ); ?></p>
I hope this helps and that it wasn't too confusing. Let me know if I need to clarify anything.
I am a web developer
efullerMemberThis is doable.
The easiest way I would know to do this would be to edit the plugin file directly and add just a few arguments. This may not be a bad option since the plugin rarely gets updated.
Functionality could also be wrapped up in a plugin that extends the widget if this would be preferred.
In the meantime, if a better solution isn't proposed, let me know which of the above you would be comfortable with.
I am a web developer
efullerMemberHaving a bit of trouble understanding exactly what you are looking to do.
The code you provided moves the Header and the Navigation inside the 'site-container' not 'site-inner'.
I believe the wrap you are referring to is the wrap inside the <header> correct? If this is the case, then the wrap is just part of the normal HTML markup of the header. The wrap itself could be removed if so desired.
I'm not sure if I've answered your question, but please provide some more detail and a link would be helpful as well.
I am a web developer
June 20, 2014 at 7:26 am in reply to: Active State for Blog Menu Item for Individual Blog Posts #110777efullerMemberTry adding this code to your functions.php
function add_custom_class($classes=array(), $menu_item=false) { if ( !is_page() && 'Blog' == $menu_item->title && !in_array( 'current-menu-item', $classes ) ) { $classes[] = 'current-menu-item'; } return $classes; } add_filter('nav_menu_css_class', 'add_custom_class', 100, 2);
I am a web developer
efullerMemberefullerMemberIt looks as though this is the Education theme not Balance, correct?
It looks like the slider area is 980px. If your image is 1140px x 350px then there is some re-sizing going on to make the image fit.
Try creating an image that is 980px x 350px and see how that works.
I am a web developer
efullerMemberefullerMemberQuick question.
Do you need the welcome message to remain the same width as the content and keep the sidebar to the right, or do you want the welcome message area to stretch to the right pushing the sidebar down?
I am asking because the latter is much easier to achieve.
I am a web developer
efullerMemberThis can be controlled by editing the following CSS style.
.welcome-message {
border-bottom: 1px dotted #ddd;
padding-bottom: 40px;
margin-bottom: 80px;
}You might remove the border and margin-bottom. If you need to still remove more spacing after that, then remove the padding.
Hope this helps.
- Eric
I am a web developer
efullerMemberFind .site-inner section in your CSS file:
.site-inner { clear: both; padding-top: 40px; padding-top: 4rem; }
Remove the padding:
.site-inner { clear: both; }
I hope this helps.
I am a web developer
efullerMemberefullerMemberHello:
Without doing any testing and just looking at your code, try removing the 'first' class from the second div element.
<div class="one-half first"> <h4>Heading of list</h4> <ul> <li>List item text</li> <li>List item text</li> <li>List item text</li> </ul> </div> <div class="one-half"> <h4>Heading of list</h4> <ul> <li>List item text</li> <li>List item text</li> <li>List item text</li> </ul> </div>
Hope this does the trick!
Eric
I am a web developer
efullerMemberI would try double-checking your functions.php file.
Seems like you must have code hooked into the genesis_entry_header hook that is adding in a featured image just below title of the page.
If not, please provide more details/information.
Thanks,
Eric
I am a web developer
March 10, 2014 at 6:57 am in reply to: How to edit next and previous post links (PHP problems) #94154efullerMemberKate:
Please try replacing your code with the code below:
//* Add post navigation (requires HTML5 theme support) remove_action( 'genesis_entry_footer', 'genesis_prev_next_post_nav' ); add_action( 'genesis_entry_footer', 'cookie_prev_next_post_nav' ); function cookie_prev_next_post_nav() { if ( ! is_singular( 'post' ) ) return; genesis_markup( array( 'html5' => '<div %s>', 'xhtml' => '<div class="navigation">', 'context' => 'adjacent-entry-pagination', ) ); echo '<div class="pagination-previous alignleft">'; previous_post_link('%link', 'Older Post'); echo '</div>'; echo '<div class="pagination-next alignright">'; next_post_link('%link', 'Newer Post'); echo '</div>'; echo '</div>'; }
You should be able to replace the 'Older/Newer Post' text with anything you would like.
Thanks,
Eric
I am a web developer
-
AuthorPosts