Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
July 18, 2019 at 4:01 am in reply to: Breakthrough Pro: How to remove the hero title while keeping hero image #492419yoongmingMember
Thanks. I am guessing it's this part of the code right?
// Sets up hero section content. $title = get_theme_mod( 'breakthrough_hero_title_text', breakthrough_get_default_hero_title_text() ); $button_text = get_theme_mod( 'breakthrough_hero_button_text', breakthrough_get_default_hero_button_text() ); $button_url = get_theme_mod( 'breakthrough_hero_button_url', '#' ); $hero_image = get_theme_mod( 'breakthrough_front_page_image_1', breakthrough_get_default_front_page_image_1() ); $hero = get_theme_mod( 'breakthrough_show_hero_section', true ); if ( $hero ) { if ( $title || is_active_sidebar( 'hero-section' ) ) { // Opens the hero-section markup. genesis_markup( array( 'open' => '<div %s><div class="wrap">', 'context' => 'hero-section', ) ); if ( $title ) { echo '<h2 class="hero-title">' . $title . '</h2>'; } if ( $button_text ) { echo '<a href="' . $button_url . '" class="button button-hero">' . $button_text . '</a>'; } $front_page_image_1 = get_theme_mod( 'breakthrough_front_page_image_1', breakthrough_get_default_front_page_image_1() ); if ( $front_page_image_1 ) { $image_id = attachment_url_to_postid( $front_page_image_1 ); $image_alt = get_post_meta( $image_id, '_wp_attachment_image_alt', true ); echo '<div class="full-width-image"><img src="' . $front_page_image_1 . '" alt="' . $image_alt . '" /></div>';
How do edit it? Any idea?
July 18, 2019 at 3:04 am in reply to: Breakthrough Pro: How to remove the hero title while keeping hero image #492417yoongmingMemberIt removes the hero image - front page image 1. the one with the Petronas Twin Towers.
The image is there on the live editor, but when I hit publish, it disappears. I've tried it now, if you navigate to my site now you will see what I mean.
July 18, 2019 at 2:16 am in reply to: Breakthrough Pro: How to remove the hero title while keeping hero image #492413yoongmingMemberHi Brad,
Thank you in advance. The page in question is my front page. urbanitewarrior.com
Best regards,
YM -
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)