Forum Replies Created
-
AuthorPosts
-
dmcleod87Member
thanks summer. updated the code but still doesn't work. i'm getting in touch with the developer via tweaky.com so hopefully he can fix it.
eamonmoriarty - i've got it pointing to http://theinfluenceronline.com/ as that is the live domain the site will eventually end up on.
October 22, 2013 at 2:44 am in reply to: overlay post title on featured image – genesis featured posts widget #68158dmcleod87Membermanaged to get it to work through trial and error using the method here
for those people looking to do the same, you need to edit the following CSS for Genesis Featured Posts Widget.
.featured-content .entry { position: relative; width: 100%; /* for IE 6 */ } .featured-content .entry-title { background: rgb(0, 0, 0); /* fallback color */ background: rgba(0, 0, 0, 0.7); padding: 10px; position: absolute; top: 200px; left: 0; width: 100%; }
dmcleod87Memberhi summer,
page is a custom template. the 3 featured posts at the top are widgets. here is the code from the page template-
<?php /* Template Name: Widget Template Created for three featured widget section, by Iniyan-tweaky */ //Displaying posts on this page remove_action( 'genesis_loop', 'genesis_do_loop' ); add_action( 'genesis_loop', 'iniyan_loop' ); /** * Remove default loop. Execute Custom Loop Instead. * * @author Greg Rickaby * @since 1.0.0 */ function iniyan_loop() { global $paged; $args = (array( 'order' => 'dsc', 'order_by'=> 'title', 'paged' => $paged, 'cat'=>'-14,-15,-16', 'posts_per_page' => 5 )); genesis_custom_loop( $args ); } //Featured Widgets add_action('genesis_before_content', 'iniyan_template'); function iniyan_template() { echo'<div id="tweaky-widgets">'; genesis_widget_area( 'featured-one', array( 'before' => '<div class="featured-one">', 'after' => '</div>', ) ); genesis_widget_area( 'featured-two', array( 'before' => '<div class="featured-two">', 'after' => '</div>', ) ); genesis_widget_area( 'featured-three', array( 'before' => '<div class="featured-three">', 'after' => '</div>', ) ); echo '</div>'; } genesis(); // <- everything important: make sure to include this.
dmcleod87Memberanyone know how i can fix this?
October 21, 2013 at 8:38 pm in reply to: overlay post title on featured image – genesis featured posts widget #68124dmcleod87Memberdmcleod87Memberfound a fix. i changed the content archive settings in theme settings. the featured image size was set to 'large (1024x1024px). after declaring the new image size and regenerating the thumbnails, i went back and chose 'post-image (800x9999px) and they all display fine now.
thanks again for the assistance brad, much appreciated!
dmcleod87Memberonly problem is how do i choose this when i add the featured image in the post when i can't select an option? or do i declare that in the code somehow?
dmcleod87Memberyeah i've been reading through these pages-
http://codex.wordpress.org/Function_Reference/add_image_size
http://codex.wordpress.org/Post_Thumbnailsthis is their example-
add_image_size( 'category-thumb', 300, 9999 ); //300 pixels wide (and unlimited height)
if ( function_exists( 'add_image_size' ) ) { add_image_size( 'category-thumb', 300, 9999 ); //300 pixels wide (and unlimited height) add_image_size( 'homepage-thumb', 220, 180, true ); //(cropped) }
i could declare a new image size and set the image to 800 wide and 9999 for the height...do you think that would work? after i regenerate thumbnails first of course...
dmcleod87Memberspoke too soon. added a few new posts and had no issues, now i've added another post and again the featured image automatically reverts to a smaller size. i tried a different featured image, yet it didn't work as it did for the last post mentioned above.
really stumped with this one!
dmcleod87Memberjust an update. have swapped the featured images and it works fine. very odd.
thanks for your help anyway brad.
dmcleod87Memberyeah i noticed that before but i assure you the image i uploaded is 800px and the filename is meant to be pattern1.jpg. it seems to be linking to 'full size' image setting but i just re-uploaded the photo as the featured image and still links to that file.
i've deleted the post altogether as well as the images and re-created it and still it links to the smaller image. when i choose the featured image in the post i don't get to choose the size eg thumbnail, small, medium large etc...
i think i'm having issues because i've imported all the posts/images from blogger and the posts are a mess.
dmcleod87Memberfor example this posts featured image is displaying correctly and is the same width as the other-
http://influencer.dylanmcleod.net.au/featured-three/street-smith-x-basically-boutique/
dmcleod87Memberthe original size of the image is 800px. it's odd that some which are also 800px wide display at 800px wide, just not some. all post images are 800px when uploaded...
dmcleod87Membershould also mention i've based the site on the genesis sample child theme.
October 8, 2013 at 3:19 pm in reply to: display row of 3 featured posts/images above sidebar but under header #65884dmcleod87Memberjust used the genesis featured posts widget. someone else has taken a look at my code and it works fine on a fresh install of the sample child theme, so i suspect it's something i've done to some other code which is why nothing is working.
going to start from scratch and see how i go. thanks for your help anyway.
October 8, 2013 at 3:46 am in reply to: display row of 3 featured posts/images above sidebar but under header #65815dmcleod87Memberhi Brad thanks for the link.
have added the code, added the widgets and still nothing appears. changed the category to 'featured'
http://influencer.dylanmcleod.net.au/category/featured/
i was hoping to make this into a home page template if possible.
dmcleod87Memberjust an update to say i've fixed it.
have copied the CSS from the plugin and added it my child theme CSS file. that has sorted the vertical stacking of the icons and now the icons are appearing.
i'm sure all that wasn't necessary as i've had it working on other child themes but it works for now.
dmcleod87Membersorry i meant try the website again. also i just viewed in chrome and it's in the correct spot for me, just not displaying correctly.
dmcleod87Membertry this http://d.pr/i/IvG0
dmcleod87Memberodd. what browser are you viewing it in? it's in the correct spot on my end (firefox) and i haven't altered the sidebar/widget width...
-
AuthorPosts