Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #229585

    Hi

    I thought I’d seen a post offering what I need but I can’t find it anywhere today. I’m using the social icons and bottom navigation but wish to have a large phone number right aligned and actually within the header (ie in line with the logo ). I think I have found some of the code but I can’t find the post which (I think) told me to add a line of code to header.php. Could you please tell me what I need to add to Custom CSS and the header please (what AND where for the header please).

    Thanks
    Mark

    #230140

    Hey MKW270210!

    Please go to Appearance > Editor and open Header.php file and find

    if($phone) echo "<div class='phone-info {$phone_class}'><span>{$phone}</span></div>";

    cut it and paste it right below

    if(strpos($headerS,'social_header') !== false && strpos($headerS,'bottom_nav_header') !== false) avia_social_media_icons($social_args);

    then add following code to Quick CSS in Enfold theme options under Styling tab

    .social_header .phone-info {
    float: right; padding-top: 20px; }

    Regards,
    Yigit

    #231272

    Thanks Yigit

    Mark

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Large Phone Number in Header’ is closed to new replies.