Community Forums › Forums › Archived Forums › Design Tips and Tricks › Streamline-Pro featured widgets
Tagged: featured widgets, reposition, streamline pro
- This topic has 6 replies, 3 voices, and was last updated 11 years, 10 months ago by
Tom.
-
AuthorPosts
-
August 13, 2014 at 7:33 am #118559
sahdow
ParticipantI want to reposition the featured widgets, but they will not display.
Starting with a clean downloaded copy of the theme, I modify the hook and the widgets disappear.
Here's the original snippet:
// Add homepage widgets add_action( 'genesis_before_content_sidebar_wrap', 'streamline_homepage_widgets' );Using the hook reference I try this:
// Add homepage widgets add_action( 'genesis_after_content_sidebar_wrap', 'streamline_homepage_widgets' );And widgets disappear completely - or this:
// Add homepage widgets add_action( 'genesis_after_content', 'streamline_homepage_widgets' );with the same results - no widgets.
Anyone know what's going on here?
August 14, 2014 at 7:31 pm #118877Tom
Participantadd_action( 'genesis_after_content_sidebar_wrap', 'streamline_homepage_widgets' );Places the widgets below the sidebar:

What, exactly, are you wanting to do with your Streamline widgets?
Edit: meant to add that you may find some help using the Genesis Visual Hook Guide.
Choose your next site design from over 350 Genesis themes.
[ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]August 15, 2014 at 1:12 pm #119030sahdow
ParticipantBasically, want the featured widgets to display below the post content and sidebar (content_sidebar_wrap) and move it down immediately above the footer widgets.
August 15, 2014 at 1:49 pm #119054Genesis Developer
MemberOpen the front-page.php in Theme Editor and change this line
add_action( 'genesis_before_content_sidebar_wrap', 'streamline_homepage_widgets' );by
add_action( 'genesis_after_content_sidebar_wrap', 'streamline_homepage_widgets' );
August 15, 2014 at 1:50 pm #119055Genesis Developer
MemberAugust 15, 2014 at 2:29 pm #119086sahdow
ParticipantThanks, genrock but it doesn't work, hence my reason for the post - see my original post
August 15, 2014 at 2:39 pm #119093Tom
ParticipantFollow Genrock's step (as you had done before), then change this in your stylesheet:
Find the
home-featuredsection in your stylesheet at line 1067 and change the code to addclear: left;in that statement:.home-featured { background: #fff url(images/lines-vertical.png); background-size: 3px 1px; border-bottom: 5px solid #f1f1f1; margin: 0 auto; overflow: hidden; text-align: center; clear: left; }You'll have some additional CSS changes to make to suit your new layout.
Choose your next site design from over 350 Genesis themes.
[ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ] -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.