Forum Replies Created
-
AuthorPosts
-
taylorjkeen32
ParticipantThank you both so much. I figured out another way and it's working. This thread/ticket can be closed/marked completed.
taylorjkeen32
ParticipantThank you guys. I've got the part about only on one page figured out. But I still haven't determined why the image positioning is different when the header/menu is full vs mobile. If I add a top-margin to the image then when it switches to mobile there's a blank spot for the margin.
taylorjkeen32
ParticipantIt's not techinically a slider. I'm just going for that effect...a large image that spans the whole screen and comes right after the header. Right now it's done with this code:
//* Remove Tagline Area From Before Content Sidebar Wrap
remove_action( 'genesis_before_content_sidebar_wrap', 'genesis_seo_site_description' );//* Hook before content sidebar wrap widget area globally
add_action( 'genesis_after_header', 'wpsites_image_after_header' );function wpsites_image_after_header() {
echo '<div class="image-after-header">';
echo '
';
echo '</div>';
}
If I just use a widget as you say, is there a way to make that span the whole width of screen (not just container) and butt up against bottom of header?
taylorjkeen32
ParticipantOk, I got the code in the right places as you said above. However, it seems like putting it in the media queries section doesn't do anything. Anytime the full header/navigation shows the top part of image is under header But, when the header/navigation changes to the mobile responsive (drop down menu) the image appears correctly (butting up to bottom of menu).
taylorjkeen32
ParticipantOk, this is what I have in my Theme Functions file:
//* Remove Tagline Area From Before Content Sidebar Wrap
remove_action( 'genesis_before_content_sidebar_wrap', 'genesis_seo_site_description' );//* Hook before content sidebar wrap widget area globally
add_action( 'genesis_after_header', 'wpsites_image_after_header' );function wpsites_image_after_header() {
echo '<div class="image-after-header" style="margin-top: 65px;">';
echo '';
echo '</div>';
}Is none of that supposed to be there? Just add it in the two spots you stated above?
-
AuthorPosts