Forum Replies Created
-
AuthorPosts
-
Genesis DeveloperMember
You are welcome.
Merry XMAS.
Genesis DeveloperMemberThen I think that you will hire a developer and make it. You need custom code for this exact slider.
Genesis DeveloperMemberTry to add this code in functions.php file
add_action( 'genesis_entry_content', 'genesis_do_single_post_image', 8 ); add_action( 'genesis_post_content', 'genesis_do_single_post_image' ); function genesis_do_single_post_image() { if ( is_single() ) { $img = genesis_get_image( array( 'format' => 'html', 'size' => genesis_get_option( 'image_size' ), 'context' => 'archive', 'attr' => genesis_parse_attr( 'entry-image' ), ) ); if ( ! empty( $img ) ) printf( '<a href="%s" title="%s">%s</a>', get_permalink(), the_title_attribute( 'echo=0' ), $img ); } }
Genesis DeveloperMemberfor scrolling logo edit the 861 no line of your style.css file
replace
position: fixed;
withposition: absolute;
Genesis DeveloperMemberOn mobile the Nav Bar isn’t at the top – how do I make that happen?
Ans: add this code in your style.css file
@media only screen and (max-width: 767px){ .nav-secondary{top: 0} }
Genesis DeveloperMemberAdd this code in your single-species.php file
add_filter( 'genesis_post_info', 'dailyspecies_post_info_filter' ); function dailyspecies_post_info_filter($post_info) { $post_info = '[post_date]'; return $post_info; }
Genesis DeveloperMemberAh! Please remove my code. It will not work that way.
December 23, 2013 at 9:39 pm in reply to: How do I had links to the next and previous post at then end of my single posts? #81011Genesis DeveloperMemberPlease modify the code
add_action( 'genesis_after_entry', 'genesis_do_post_prev_link_single', 4 ); function genesis_do_post_prev_link_single(){ if( is_single()){ echo '<div style="float: left; display: inline-block;width: 48%;">' . "\n"; previous_post_link() ; echo '</div><div style="float: right; display: inline-block;width: 48%;">' . "\n"; next_post_link() ; echo '</div>' . "\n"; } }
December 23, 2013 at 12:42 pm in reply to: How do I had links to the next and previous post at then end of my single posts? #80927Genesis DeveloperMemberTry this code in functions.php file
add_action( 'genesis_after_entry', 'genesis_do_post_prev_link_single', 4 ); function genesis_do_post_prev_link_single(){ if( is_single()){ echo '<div style="float: left">' . previous_post_link() . '</div><div style="float: right">' .next_post_link() . '</div>'; } }
December 23, 2013 at 12:36 pm in reply to: Exclude category from home.php Genesis 2.0 – help? #80924Genesis DeveloperMemberwhat is your site URL? Home page is using the grid loop?
December 23, 2013 at 12:15 pm in reply to: Exclude category from home.php Genesis 2.0 – help? #80917Genesis DeveloperMembertry this code in your functions.php file
add_filter('genesis_grid_loop_args', 'exclude_category_from_home'); function exclude_category_from_home($args){ $args['cat'] = '-2'; //Please add your category id return $args; }
December 23, 2013 at 10:21 am in reply to: How could I insert a banner below the top menu in Metro pro? #80899Genesis DeveloperMembertry this code in functions.php file
add_action('genesis_before_header', 'add_custom_banner_at top', 35); function add_custom_banner_at top(){ //Write here your banner code }
December 23, 2013 at 7:50 am in reply to: How to disable social sharing buttons from showing on home page – Outreach theme #80874Genesis DeveloperMemberAlso you can use this
.home .shareaholic-canvas{display: none}
I think that this one will be best for you.
December 23, 2013 at 7:48 am in reply to: How to disable social sharing buttons from showing on home page – Outreach theme #80873Genesis DeveloperMemberSorry try this code
.home .shareaholic-share-buttons, .home .shareaholic-share-buttons-heading{display: none}
Genesis DeveloperMemberwelcome
Please mark it as "RESOLVED"
December 23, 2013 at 7:20 am in reply to: How to disable social sharing buttons from showing on home page – Outreach theme #80869Genesis DeveloperMemberadd this code in style.css file
.home .shareaholic-share-buttons-heading{display: none}
Genesis DeveloperMemberModify your style.css file
Current code
.enews #subbox { -moz-box-shadow: inset 0 1px 2px 1px #eee; -webkit-box-shadow: inset 0 1px 2px 1px #eee; background: url(images/email-icon.png) no-repeat 16px 15px #fff; border-bottom: none; border-left: 1px solid #963c3c; border-right: none; border-top: 1px solid #963c3c; box-shadow: inset 0 1px 1px 1px #eee; color: #bbb; font-family: Verdana, Arial, Tahoma, sans-serif; font-size: 9px; padding: 14px 15px 14px 45px; text-transform: uppercase; width: 160px; }
New Code
.enews #subbox { -moz-box-shadow: inset 0 1px 2px 1px #eee; -webkit-box-shadow: inset 0 1px 2px 1px #eee; background: url(images/email-icon.png) no-repeat 16px 15px #fff; border-bottom: none; border-left: 1px solid #963c3c; border-right: none; border-top: 1px solid #963c3c; box-shadow: inset 0 1px 1px 1px #eee; color: #bbb; font-family: Verdana, Arial, Tahoma, sans-serif; font-size: 9px; padding: 14px 15px 14px 45px; margin-left: 25px; text-transform: uppercase; width: 160px; }
Genesis DeveloperMemberYou are Welcome.
Genesis DeveloperMemberOk. Add this code in home.php file. Please keep a backup first.
remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 ); remove_action( 'genesis_post_content', 'genesis_do_post_image' ); add_action( 'genesis_entry_content', 'genesis_do_custom_post_image', 8 ); add_action( 'genesis_post_content', 'genesis_do_custom_post_image' ); function genesis_do_custom_post_image(){ global $wp_query; if ( ! is_singular() && genesis_get_option( 'content_archive_thumbnail' ) ) { if($wp_query->current_post <=0){ $img = genesis_get_image( array( 'format' => 'html', 'size' => genesis_get_option( 'image_size' ), 'context' => 'archive', 'attr' => genesis_parse_attr( 'entry-image' ), ) ); }else{ $img = genesis_get_image( array( 'format' => 'html', 'size' => 'thumbnail', 'context' => 'archive', 'attr' => genesis_parse_attr( 'entry-image' ), ) ); } if ( ! empty( $img ) ) printf( '<a href="%s" title="%s">%s</a>', get_permalink(), the_title_attribute( 'echo=0' ), $img ); } }
Genesis DeveloperMemberIs your home page widgetize? There have some widgets like home top, home bottom at Dashboard -> Appearance ->Widgets Section?
-
AuthorPosts