Tagged: x
-
AuthorPosts
-
September 7, 2016 at 11:20 pm #1165786
ImmortalizerParticipantI’ve got the following code and want this new image to display in the centre of the single post page.
I’ve tried 3-4 different functions but my coding skills haven’t made it possible.add_image_size( ‘blog-top’, 1024, 260, TRUE );
add_action( ‘genesis_before_entry’, ‘featured_post_image’, 8 );function featured_post_image() {
if ( ! is_singular( ‘post’ ) ) return;
the_post_thumbnail(‘blog-top’);
}A few solutions i’ve found and tried include:
// First tryadd_filter( ‘featured_post_image’, ‘be_remove_image_alignment’ );
function be_remove_image_alignment( $attributes ) {
$attributes[‘class’] = str_replace( ‘alignleft’, ‘alignnone’, $attributes[‘class’] );
return $attributes;
}// Second try
img.centered;
.aligncenter {
display: block;
margin: 0 auto 24px;
margin: 0 auto 2.4rem;
}September 8, 2016 at 2:12 am #1165946
RupokMemberHi there,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
September 8, 2016 at 2:34 am #1165966
ImmortalizerParticipantwell it’s http://www.thejenkinsfx.com/ but it’s not active.
I haven’t finished creating it and I’m finding wordpress is just too difficult to work with when there’s actual website makers that are more suited to non-blog pages.
But I am determined to give it a go still and get something up this week.September 8, 2016 at 4:01 am #1166110
Paul RModeratorHi,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1165786 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
