Image to open contact form

2»

Comments

  • brandofamilybrandofamily Just a Guy with a Camera Illinois USARegistered Users Posts: 2,004 Major grins
    edited March 3, 2020

    @Hikin' Mike said:
    Should have mentioned it is on your footer code.

    It's really just an HTML content box being used as a footer.
    Anyway, I fixed the missing . No difference.
    Seems the code doesn't like being in multiple places on the same page and the last (lower) instance on the page bOrks out.
    I just realized, based on the code the link is really in 3 places. There are 2 links in the 1st code I posted. One on an image and one on the text "[email protected]" Both of those work.
    It's just that last one that's being used as the footer that does not.

  • Hikin' MikeHikin' Mike Walkin' like a Penguin! Atwater, CaRegistered Users Posts: 4,707 Major grins

    @brandofamily said:

    @Hikin' Mike said:
    Should have mentioned it is on your footer code.

    It's really just an HTML content box being used as a footer.
    Anyway, I fixed the missing . No difference.
    Seems the code doesn't like being in multiple places on the same page and the last (lower) instance on the page bOrks out.
    I just realized, based on the code the link is really in 3 places. There are 2 links in the 1st code I posted. One on an image and one on the text "[email protected]lovingandlearningcare.com" Both of those work.
    It's just that last one that's being used as the footer that does not.

    Could be.

    Unrelated, but you might want to verify your e-mail you posted in the code earlier. The site goes to a not found page.

  • brandofamilybrandofamily Just a Guy with a Camera Illinois USARegistered Users Posts: 2,004 Major grins

    Thanks. That email is a place holder for now until my daughter gets the real email set up.
    The code works on all pages unless there are BOTH html boxes on the page.
    Still trying to fix it. Stumped.

  • Hikin' MikeHikin' Mike Walkin' like a Penguin! Atwater, CaRegistered Users Posts: 4,707 Major grins

    @brandofamily said:
    Thanks. That email is a place holder for now until my daughter gets the real email set up.
    The code works on all pages unless there are BOTH html boxes on the page.
    Still trying to fix it. Stumped.

    The reason that both of those links work is because both are nested within this div:

    <div class="sm-footer-navitem-contact">
      <a href="#"><img src="https://photos.smugmug.com/Info-Pages/Site-Image/i-tgtSqFF/0/fce01722/Ti/FAVPNG_email-logo-clip-art_1RwRABHK-Ti.png" width="25" height="25" hspace="10"></img></a> 
      <a href="#">[email protected]</a>
    </div>
    

    If you did this, only the first will work.

    <div class="sm-footer-navitem-contact">
      <a href="#"><img src="https://photos.smugmug.com/Info-Pages/Site-Image/i-tgtSqFF/0/fce01722/Ti/FAVPNG_email-logo-clip-art_1RwRABHK-Ti.png" width="25" height="25" hspace="10"></img></a> 
    </div>
    
    <div class="sm-footer-navitem-contact">
      <a href="#">[email protected]</a>
    </div>
    

    I played around earlier and I can't make all contact forms work. Like you've seen, only one will work, the first instance in the page. The only way to have multiple contact links is to use a single menu item, but you can't use an image.

  • brandofamilybrandofamily Just a Guy with a Camera Illinois USARegistered Users Posts: 2,004 Major grins

    Thanks. If you find a solution that fits my needs please let me know.

  • Hikin' MikeHikin' Mike Walkin' like a Penguin! Atwater, CaRegistered Users Posts: 4,707 Major grins

    @brandofamily said:
    Thanks. If you find a solution that fits my needs please let me know.

    Since I can't see your site, I'm kind of flying (coding) blind, but I think I have a solution. You will have to use a single Menu on either your footer or your home page/interior page(s). You'll need to this to your theme's custom CSS section and you'll need to change the node number (.sm-page-widget-xxxxxxxx) accordingly:

    .sm-page-widget-xxxxxxxx .sm-page-widget-nav-toplink a {
      content: url('https://photos.smugmug.com/Info-Pages/Site-Image/i-tgtSqFF/0/fce01722/Ti/FAVPNG_email-logo-clip-art_1RwRABHK-Ti.png');
      width: 32px;
    }
    

    That will display your Contact text to your image.

  • brandofamilybrandofamily Just a Guy with a Camera Illinois USARegistered Users Posts: 2,004 Major grins

    @Hikin' Mike said:

    @brandofamily said:
    Thanks. If you find a solution that fits my needs please let me know.

    Since I can't see your site, I'm kind of flying (coding) blind, but I think I have a solution. You will have to use a single Menu on either your footer or your home page/interior page(s). You'll need to this to your theme's custom CSS section and you'll need to change the node number (.sm-page-widget-xxxxxxxx) accordingly:

    .sm-page-widget-xxxxxxxx .sm-page-widget-nav-toplink a {
      content: url('https://photos.smugmug.com/Info-Pages/Site-Image/i-tgtSqFF/0/fce01722/Ti/FAVPNG_email-logo-clip-art_1RwRABHK-Ti.png');
      width: 32px;
    }
    

    That will display your Contact text to your image.

    Thanks. I am not sure it's what she wants, this is for my daughter's site, but I'll give it a try.

Sign In or Register to comment.