Community Forums › Forums › Archived Forums › Design Tips and Tricks › Luscious Help Please!
Tagged: luscious theme, Social buttons
- This topic has 7 replies, 3 voices, and was last updated 11 years, 7 months ago by AnitaC.
-
AuthorPosts
-
February 19, 2013 at 7:18 pm #21538beckysdesignMember
I am a newbie and just bought Luscious. How do you get the simple social icons centered at the top in the header? When I add them they are all the way at the top, not like in the demo.
Thanks!
February 19, 2013 at 9:30 pm #21556SusanModeratorThe widget should go into your Header Right. Where did you put it? Can you please post a link to your site, so I can see?
February 20, 2013 at 1:14 am #21582AnitaCKeymasterTake a look at the instructions - http://my.studiopress.com/setup/luscious-theme/. You need to use the Simple Social Icons and you need to add the following code to the bottom of your Style.css file:
#header .widget-area .simple-social-icons {
margin: 40px 0 0;
}
Need help with customization or troubleshooting? Reach out to me.
February 20, 2013 at 6:32 am #21620beckysdesignMemberThanks so much for pointing me in the right direction!!!!
I have another question if someone can help.... In the instructions it says
Featured Images:
The Luscious theme adds a large horizontal image above the post title by default. This image is pulled from the first image that is uploaded and attached to the post. The image does not need to be assigned as a featured image.If there is an image inserted within the body of the post, it may also be displayed as the featured image.
How can I stop the image from displaying above the title by default? I just want it to show in the post.
Thanks!!!!
February 20, 2013 at 7:45 am #21630AnitaCKeymasterI was able to find something on the old forum (thread t=122632). Look in your Functions.php file and remove this:
/** Remove default post image */ remove_action( 'genesis_post_content', 'genesis_do_post_image' );
Write back if it works or not.
Need help with customization or troubleshooting? Reach out to me.
February 20, 2013 at 7:57 am #21635beckysdesignMemberthis is the only thing I see in the function file to do with images.....
/** Add custom field above post title */
add_action( 'genesis_before_post_title', 'luscious_post_image', 8 );
function luscious_post_image() {if ( is_page() )
return;if ( $image = genesis_get_image( 'format=url&size=post-photo' ) ) {
printf( '<a href="%s" rel="bookmark"><img class="post-photo" src="%s" alt="%s" /></a>', get_permalink(), $image, the_title_attribute( 'echo=0' ) );
}I did not remove it because I did not want to mess anything up until I know if this is what I should remove .. Should I remove this?
Thanks for all the help!!
February 20, 2013 at 8:04 am #21636beckysdesignMemberI went ahead and took a chance and removed it and it worked!!!!! Thanks so much again for the help!
/** Add custom field above post title */
add_action( 'genesis_before_post_title', 'luscious_post_image', 8 );
function luscious_post_image() {if ( is_page() )
return;if ( $image = genesis_get_image( 'format=url&size=post-photo' ) ) {
printf( '<a href="%s" rel="bookmark"><img class="post-photo" src="%s" alt="%s" /></a>', get_permalink(), $image, the_title_attribute( 'echo=0' ) );
}}
February 20, 2013 at 8:17 am #21638AnitaCKeymasterOh, I think what I gave you was supposed to be added to the Functions.php so you wouldn't have to remove all of that! But glad it's working for you. Just remember... if you ever want to put it back - just copy that piece of code back in there.
Need help with customization or troubleshooting? Reach out to me.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.