Forum Replies Created
-
AuthorPosts
-
mathiasppcMember
It is not working properly on my friend`s Safari either. There has to be some kind of bug in the css from the Genesis 2.0 sample theme?
mathiasppcMemberThanks for the help everyone. Working beautifully!
mathiasppcMemberThanks again Tibor
Here`s what I put in functions.php
if ( is_page() ) {
add_action( 'genesis_entry_header', 'my_page_info' );
function my_page_info() {
$post_info = '[post_date] ' . __( 'by', 'genesis' ) . ' [post_author_posts_link] [post_comments] [post_edit]';
printf( '<p class="entry-meta">%s</p>', do_shortcode( $post_info ) );
}
}It doesen
t work because I think there
s something wrong with the if-statement? Without if ( is_page() ) the extra post info shows up on all posts and pages.mathiasppcMemberThanks Tibor!
Do I put this in the page.php in the Genesis Framework though? I thought I was not supposed to edit those files?
mathiasppcMemberI I just want the post info (author, date and comments) to show up on pages (as it`s already showing up in posts)
mathiasppcMemberBump
mathiasppcMemberAnyone have a solution for this problem?
mathiasppcMemberThanks!
mathiasppcMemberAnyone have any suggestions on this?
mathiasppcMemberI noticed the widget boxes were labeled with different IDs:
#text-8 {
padding: 0px;
}mathiasppcMemberThanks for the suggestion, but I want the widget in the sidebar. I guess what I`m trying to say is that I`m looking for a solution that will allow me to add custom widgets to the sidebar (without all the structural wrap around that adds padding etc...). I want to add custom css to that particular widget block if that makes sense.
mathiasppcMemberLooks ok fram what I see, but there`s probably a better way of doing it with genesis functions.
mathiasppcMemberFor example the top right widget I`ve got on my site:
<code>
<div id="obog_signup_widget_sidebar" style="margin: -4rem;">...</div>
</code>
I`ve had to specify a negative margin to hide the other elements.
mathiasppcMemberPerfect! Thank you 🙂
mathiasppcMemberAdd this to your CSS:
.entry-content a {
border-bottom: 0px;
}
I recommend using Firefox and the inspect program for every element you want to change on your site. It will give you the css for that element and you can toy around with the styling live.
mathiasppcMemberAwesome! Thanks once again Ryan
mathiasppcMemberPerfect that worked! I wasn`t aware of that functionality
mathiasppcMemberThanks for the quick responses guys. I ended up using the HTML5 markup:
// Reposition the breadcrumbs
remove_action( 'genesis_entry_header', 'genesis_post_info' );
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
add_action( 'genesis_entry_header', 'genesis_do_breadcrumbs' );
add_action( 'genesis_entry_header', 'genesis_do_post_title' );
add_action( 'genesis_entry_header', 'genesis_post_info' );Seems a bit unecessary to use 6 lines to reposition (and change the priority) just to reposition the breadcrumbs - is this really the best way to do it?
mathiasppcMemberThanks Ryan!
Works beautifully.
-
AuthorPosts