• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Minimum Pro BG image clickable

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Minimum Pro BG image clickable

This topic is: not resolved

Tagged: background image, clickable, minimum pro, out bound link

  • This topic has 5 replies, 2 voices, and was last updated 11 years, 1 month ago by Davinder Singh Kainth.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • December 10, 2014 at 8:06 am #134161
    sullystone
    Participant

    Hi, I am trying to make a background image in Minimum Pro clickable to an outbound link. I have tried a number of techniques including putting a clear linkable overlay on the image and nothing is sticking. At this point I assume I need to be overriding a BG function. I was hoping not to have to change the site structure, is this possible? Thank You, Matt

    http://lougazzara.com
    December 10, 2014 at 8:53 am #134168
    Davinder Singh Kainth
    Member

    Alternatively, you can create new full width widget at top area and display image in it with hyperlink. Then remove background image functionality. http://my.studiopress.com/tutorials/register-widget-area/


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    December 10, 2014 at 9:11 am #134186
    sullystone
    Participant

    I already put in place a background widget so I could place the photo in BG area and make clickable but it won't override the original BG even when removed.

    December 11, 2014 at 1:49 am #134254
    Davinder Singh Kainth
    Member

    I understand, the current image you have added via background section in WP Dashboard.

    Backup before making changes.

    1. Add new widget area by using following code in functions.php file

    //* Homepage photo  Widget
    genesis_register_sidebar( array(
        'id'                => 'homepage-photo',
        'name'          => __( 'Homepage photo', 'custom' ),
        'description'   => __( 'This is Homepage photo section', 'custom' ),
    ) );
     
    add_action( 'genesis_before_header', 'custom_homepage_photo', 1 ); 
    function custom_homepage_photo() {
          echo '<div class="homepage-photo">';
        echo '<div class="wrap">';
        dynamic_sidebar( 'homepage-photo' );
        echo '</div>';
        echo '</div><!-- end .homepage-photo -->';
        }

    2. Go to widgets section, add new text widget to "homepage photo" area.

    3. Add code like:

    <a href="#"><img src="http://www.google.com" /></a>

    Replace # with target url
    Replace google.com with full image url.


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    December 11, 2014 at 9:53 am #134276
    sullystone
    Participant

    Davinder, Thank You, Thank You Thank You!!!! That worked. Best to you, Matt

    December 11, 2014 at 12:30 pm #134288
    Davinder Singh Kainth
    Member

    Welcome !


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble