Turn Off Feature Graphic Echo

Homepage Community Forums Epik Theme Support Turn Off Feature Graphic Echo

  • This topic has 3 replies, 2 voices, and was last updated 7 years ago by Wes.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21473
    Phil
    Customer

      Hi,

      I just installed Epik and see that on pages and posts, a duplicate of the specified feature graphic appears below the breadcrumb:

      http://dev.propelgrowth.com/lead-generation/content-marketing/

      How do I turn this off?

      Also, I can see where to upload background images for the home page, but where do I specify a solid color background? Is it a large graphic, a small tiled graphic or CSS code?

      Lastly, is the first graphic of the Epik demo a static Genesis Slider slide?

      Thanks in advance.

      Looking forward to premiering our “Epik” site to the world! 馃檪

      #21474
      Wes
      Moderator

        One of those images are the Featured Images (top image), and the other image (inside the post content) is the Content image.

        You can turn off the Featured Images in the Genesis Settings page under “Content Archives“.

        You can also remove the code that adds Featured Images to show above the Content in your functions.php file

        // Add featured image above the entry content
        add_action( 'genesis_before_entry', 'oasis_featured_photo' );
        function oasis_featured_photo() {
        
            if ( ! ( is_singular() && has_post_thumbnail() ) ) {
                return;
            }
        
            $image = genesis_get_image( 'format=url&size=single-posts' );
        
            $thumb_id = get_post_thumbnail_id( get_the_ID() );
            $alt = get_post_meta( $thumb_id, '_wp_attachment_image_alt', true );
        
            if ( '' == $alt ) {
                $alt = the_title_attribute( 'echo=0' );
            }
        
            printf( '<div class="featured-image"><img src="%s" alt="%s" class="entry-image"/></div>', esc_url( $image ), $alt );
        }

        “Also, I can see where to upload background images for the home page, but where do I specify a solid color background? Is it a large graphic, a small tiled graphic or CSS code?”

        To do this you would need to add a background color manually in the CSS. You can add it in the style.css file directly, or you can add it in the Customizer CSS page.

        “is the first graphic of the Epik demo a static Genesis Slider slide?”

        Yes it’s a static image, but you won’t need a Slider to do this since you can just add an image inside a Text Widget and it will show up in the same spot.

        #21476
        Phil
        Customer

          Thanks, Wes.

          To do this you would need to add a background color manually in the CSS. You can add it in the style.css file directly, or you can add it in the Customizer CSS page.

          I found it under APPEARANCE > CUSTOMIZE > ADDITIONAL CSS.

          Can you give me an example of how to style (point to) Feature Section 1 from there? I’m wondering if I should be using Design Palette Pro.

          Thanks again.

          #21478
          Wes
          Moderator

            Which section are you referring to? I don’t see it on your site.

            There’s a couple ways you can add background colors to certain sections. If we used the .hf1 or the white section that is currently showing, you can add something like this –

            .hf1 {
            	background: red;
            }

            It just depends on which section you want to change.

            Sometimes if there’s already a background image active, you would need to either remove that image or override it with CSS so the image doesn’t show, but the background color does.

            Just let me know the exact section you want to change, and the color you want to show and I can post the code to use here.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.