"tap to call" button in mobile

Discussion in 'ButterBelly WordPress Theme' started by sbacigalupi, Apr 20, 2014.

Thread Status:
Not open for further replies.
  1. sbacigalupi

    sbacigalupi Member

    Joined:
    Feb 17, 2014
    Messages:
    35
    Likes Received:
    1
    Hi, I noticed that the "tap to call" button is missing in the mobile version of the site. I believe it's supposed to show up directly below the navigation. Any suggestions on how to get it to show up again?

    Site: http://www.turningleafacupuncture.com
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
  3. sbacigalupi

    sbacigalupi Member

    Joined:
    Feb 17, 2014
    Messages:
    35
    Likes Received:
    1
    Hm, I'm worried this will require a lot of re-configuring. I could do this as a last resort, but are there no other options? What will change as a result of re-uploading the theme? Really hoping I can just fix that.
     
  4. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    If you have make change in .php files then you will loss your changes.Your theme option content and custom css will remain intact.


    Thanks & Regards
    Gourav Shrivastava
     
  5. sbacigalupi

    sbacigalupi Member

    Joined:
    Feb 17, 2014
    Messages:
    35
    Likes Received:
    1
    So I looked in the console, and it looks like the reason it's failing is because the "tap to call" button image does not exist, as named. I looked in the file to see if it was actually there or not, and it was right! The CSS has the image called tap-to-call-blue.png, but the file in the directory is called tap-to-call-blue-blue.png.

    I went into Firebug and edited the path to have blue-blue instead of just -blue, and it worked.

    So I went into the custom CSS field in the theme settings and entered this rule:

    .call-us a.btn{
    url("images/tap-to-call-blue-blue.png") no-repeat !important;
    }

    Unfortunately that didn't work, even after clearing cache. So then I used FTP to actually change the name to be the correct name of the file (I added a new file with the same image but correct name, I didn't delete the old file). That didn't work either!

    By the way, this problem is impacting the ButterBelly demo on the inkthemes website. Changing the browser size for the demo makes the button disappear.

    I can't re-install the theme. Any other suggestions?
     
  6. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Please update your theme from your members area or go to the butterbellytheme\css\color\images and rename "tap-to-call-blue-blue.png" to "tap-to-call-blue.png" and "tap-to-call-green-green.png" to "tap-to-call-green.png".
    Access images directory through FTP.
    It will resolve this issue.

    Thanks & Regards
    Nitesh Raghuwanshi
     
  7. sbacigalupi

    sbacigalupi Member

    Joined:
    Feb 17, 2014
    Messages:
    35
    Likes Received:
    1
    It's working now using the solution I mentioned in my previous post: changing name to -blue using FTP or changing the CSS to have blue-blue. Apparently the cache was not clearing (even though I cleared it several time through the browser).
     
Thread Status:
Not open for further replies.

Share This Page