Forum Replies Created
-
AuthorPosts
-
itsonlybarney
MemberTry the following code in your category-xx.php file:
I'm hoping the code:
remove_action( 'genesis_post_content', 'genesis_do_post_image' );
will remove the featured image, but I haven't tested it.
itsonlybarney
Member@surefirewebserv When you mean changing the column classes, do you mean changing the class selectors in the CSS grid style sheet to match the Genesis output selectors?
itsonlybarney
MemberI haven't started building a site yet, but wondering if anyone has successfully used a CSS grid system with Genesis.
I guess what I am asking, has anyone added the additional classes used by CSS grids to certain Genesis styling elements without hacking the Genesis theme core?
itsonlybarney
MemberHave you tried disabling all plugins, then only turning one on at a time to see which one is causing the issue?
itsonlybarney
MemberI'm thinking this should work, I can't test it at the moment, but give it a try.
You will need to create a new file in the child theme folder with the code in it and changed accordingly.
itsonlybarney
MemberSo you want that bottom section split across 3 sections?
I would use the last set of code, and customise as you are wanting & adding CSS as needed - http://my.studiopress.com/snippets/footer/
itsonlybarney
MemberI mentioned to add it to home.php. Like I said I'm not familiar with Pretty Pictures, and I don't have access to the them.
Also, maybe try adding the plugin - http://wordpress.org/extend/plugins/genesis-visual-hook-guide/ - to see which hook the post meta is added to.
itsonlybarney
MemberYou can add some HTML to a hook after the footer similar to the following and customise it as you wish:
/** Customize the entire footer */
add_action( 'genesis_after_footer', 'footer_copyright' );
function footer_copyright() {
?>
© Copyright 2012 My Domain · All Rights Reserved · Powered by WordPress · Admin
<?php
}
itsonlybarney
MemberYou could test for whether the page is the home page, and then remove it for all others using the following:
if ( !is_home() ) {
remove_action( ‘genesis_after_header’, ‘genesis_do_nav’ );
}
itsonlybarney
MemberI'm not familiar with Pretty Pictures, but I think if you add this code to home.php then it will be removed.
/** Remove the post meta function for front page only */
remove_action( 'genesis_after_post_content', 'genesis_post_meta' );
itsonlybarney
MemberYou will need to isolate the header CSS styling from the content and sidebar styling.
Change this:
.footer-widgets-1,
.footer-widgets-2,
.footer-widgets-3,
.sidebar,
#header .widget-area {
width: 30.555555555%; /* 352px / 1152px */
}to:
.footer-widgets-1,
.footer-widgets-2,
.footer-widgets-3,
.sidebar {
width: 30.555555555%; /* 352px / 1152px */
}#header .widget-area {
width: 65.277777777%; /* 752px / 1152px */
}and change this:
.content-sidebar #content,
.sidebar-content #content,
#title-area {
width: 65.277777777%; /* 752px / 1152px */
}to:
.content-sidebar #content,
.sidebar-content #content {
width: 65.277777777%; /* 752px / 1152px */
}#title-area {
width: 30.555555555%; /* 352px / 1152px */
}Or the respective widths that you are wanting them set at.
itsonlybarney
MemberLet me see if I am correct in what you want, for the about page, you want to add two widget areas before the page content that is on a full width page?
If I am correct in thinking what you are wanting, simply remove the line:
remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );
and the loop should stay active on the page, and the widget areas you have added will be inserted outside the content-sidebar wrap.
-
AuthorPosts