Contact This Business button causing redirect loop when clicked on using smart phone.

Discussion in 'GeoCraft WordPress Theme' started by barnett, Sep 1, 2014.

  1. barnett

    barnett Guest

    Joined:
    Oct 8, 2012
    Messages:
    6
    Likes Received:
    0
    Hello. When I visit my website http://www.orangevilledirectory.com with a smart phone every business (even the business who aren't premium) have a contact this business button. First problem is that only premium businesses should have that button showing. The business listings that aren't premium don't do anything when the button is clicked and the button should be removed.

    When you go to a premium users listing with a smart phone and click the contact this business button then the page just keeps reloading and you can't do anything making the site extremely unfriendly to use on a phone.

    Can you please help me with this issue?

    Thanks,
    Brad
     
  2. barnett

    barnett Guest

    Joined:
    Oct 8, 2012
    Messages:
    6
    Likes Received:
    0
    Is there anyway to completely remove that "Contact This Business" button from all listings when viewed with a mobile? If that button is removed and the contact form still shows up on the bottom of premium listings then I will be more than happy with that?

    Thanks
     
  3. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    Use following CSS in Custom CSS to hide that button in mobile view.
    Code:
    @media only screen and (max-width: 767px) {
    #inquiry_form .inquiry_form_title {
    display: none;
    }
    }
    That will resolve your issue.

    Thanks & Regards
    Yogesh Bhade
     
  4. barnett

    barnett Guest

    Joined:
    Oct 8, 2012
    Messages:
    6
    Likes Received:
    0
    Hello. I just added that code to the custom CSS section and nothing has changed. The button still shows up and puts the site througha redirect.

    Thanks
     
  5. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    Please see screenshot the button is not showing on mobile view.

    3sep2.png

    That will resolve your issue.

    Thanks & Regards
    Yogesh Bhade
     

Share This Page