Okay
  Public Ticket #2157602
Call button on desktop
Closed

Comments

  • shaikmd started the conversation

    Hi, i would like to know is there a way to make the phone button in the header just display the number on desktop as a dropdown when clicked..... and the same should work as a callto function when clicked from small screens ex. mobile. thanks.

  •  8,992
    Tahir replied

    Hey ,

    No i am afraid there is no such screen dependent behavior available at the moment. You can simply add text to the phone icon using custom css .

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    a[href*="tel"]:after {
        content: '+421905992565';
        position: relative;
        top: 2px;
        right: 8px;
    }
    a[href*="mailto"]:after {
        content: '[email protected]';
        position: relative;
        top: 2px;
        right: 8px;
    }

    Thanks



    ThemeNectar Support Team