Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to Move New Welcome Text Widget Under Sider
Tagged: outreach theme, slider, welcome widget
- This topic has 10 replies, 3 voices, and was last updated 12 years, 4 months ago by
Kim.
-
AuthorPosts
-
July 9, 2013 at 2:31 pm #50005
Kim
MemberHi. I followed Brian Gardner's tutorial on adding a welcome widget which was great and I'm almost there, but the tutorial adds it after my navbar. I would like it after my slider like my other web site that uses the Education theme here . I am using the Outreach Theme and only barely familiar w/ hooks but I'm pretty sure I need to change this "genesis_before_content_sidebar_wrap" to something else so it shows under my slider.
Any help would be great!
http://www.newdesignsite.com/July 10, 2013 at 2:03 am #50047Brad Dalton
ParticipantJuly 10, 2013 at 7:32 am #50087danielshaw
MemberI'm looking to create a welcome widget exactly like the agency theme but above the slider on the home page of outreach.
Any ideas of how it can be done? the site is tvrdak.sk
Thanks!July 10, 2013 at 10:02 am #50112Kim
MemberThanks, Brad, I will give that a shot.
July 10, 2013 at 10:03 am #50113Kim
MemberDaniel, if you follow this tutorial it will add the welcome text before the slider then you can edit the look of it.
July 10, 2013 at 1:33 pm #50127danielshaw
MemberThank you Kpahl, I had a read of that post before, however I then realised it would add it to the to top of all my pages, I just need it on the home page, and the same font sizes as the welcome section of agency....
Any more ideas?July 10, 2013 at 1:40 pm #50129Kim
MemberYou are correct...I didn't have a chance to test it on other pages. Yes, that is what I want as well...only on the homepage. Back to the drawing board....
July 10, 2013 at 3:10 pm #50137Kim
MemberI just found the below instructions on this web page: http://philipgledhill.co.uk/genesis-framework-widget-area/. I'm going to give it a shot, but thought I would pass it along....will update once I've tried it.
If you want to only display your widget and it’s content on your home page you need to use some conditional code.
Go to…
Dashboard > Appearance > Editor.
On the right hand side of your screen look for Theme Functions functions.phpFind the widget area code we added to the site and type some conditional code just before where it says genesis_widget_area.
function custom_welcome_text() {
if ( ! is_home() )
return;genesis_widget_area( 'welcome-text'
July 10, 2013 at 3:18 pm #50139Kim
MemberThat did it -- only shows on the homepage. Yay! My issue regarding it being before the slider still remains and I want it after the slider. Tried Brad's suggestion of "genesis_before_content" and it made no change. Hummmmm........
July 10, 2013 at 4:34 pm #50148Brad Dalton
ParticipantSorry. i thought you wanted after. Use the hook before and add the 3rd parameter if needed.
it shows under my slider.
July 10, 2013 at 4:46 pm #50151Kim
MemberYes, I would like it to show up under my slider. Not sure what you mean...sorry...
Use the hook before and add the 3rd parameter if needed.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.