Center "Tap To Call" on Mobile

Discussion in 'ButterBelly WordPress Theme' started by sangermike, Nov 28, 2014.

  1. sangermike

    sangermike Member

    Joined:
    Mar 9, 2014
    Messages:
    311
    Likes Received:
    5
    In mobile view tap...is aligned left. How can i center it? Thanks.

    Also unrelated to my title; How can I make contact template page a full page /no side widgets?

    Thanks
     
  2. Yogesh

    Yogesh Guest

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

    1. I am not getting you, which tap is left align in mobile view, will you provide me screenshot to better understand.

    2. You have to edit template_contact.php file as shown below in screenshot.

    28nov4.png

    28nov5.png

    It will resolve your issue.

    Thanks & Regards
    Yogesh Bhade
     
  3. sangermike

    sangermike Member

    Joined:
    Mar 9, 2014
    Messages:
    311
    Likes Received:
    5
    On the smartphone, the tap to call button is centered when landscape but is flushed to the left when upright.
     
  4. Yogesh

    Yogesh Guest

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

    Paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.
    Code:
    @media only screen and (max-width: 320px){
    .call-us a.btn {
    float: none;
    margin-left: 70px;
    }
    }
    It will resolve your issue.

    Thanks & Regards
    Yogesh Bhade
     

Share This Page