Adding content to Header - by VivaLaJam26

This topic has 8 replies, 3 voices, and was last updated 9 years, 10 months ago ago by Eva Kemp

  • Avatar: VivaLaJam26
    VivaLaJam26
    Participant
    January 20, 2015 at 13:26

    I’m trying to add a contact number to the header of my site, I’m using the Engineer theme and need the number in white on the right hand side of the header.

    Link to site:

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    January 20, 2015 at 13:30

    Hello,

    In this case you need edit themes/royal/header.php file.

    Regards,
    Robert Hall.

    Avatar: VivaLaJam26
    VivaLaJam26
    Participant
    January 20, 2015 at 13:34

    Where about’s in the code should I edit it, (and what should I put in :0/)

    Avatar: Robert Hall
    Robert Hall
    Support staff
    January 20, 2015 at 13:37

    Please provide us with wp-admin and FTP credentials in Private Content.
    Also tell us what number you want to put there?

    Regards,
    Robert Hall.

    Avatar: VivaLaJam26
    VivaLaJam26
    Participant
    January 20, 2015 at 13:56

    Sure:

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    January 20, 2015 at 16:53

    Hello,

    I’ve edited the file wp-content/themes/royal/headers/header-structure-3.php and added the code <div class="phonenumber">01420 475417</div> (line 29) and the following code in custom.css file

    .phonenumber {
    float: right;
    font-size: x-large;
    }

    Please check your header now.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: VivaLaJam26
    VivaLaJam26
    Participant
    January 21, 2015 at 10:52

    How do I change the color of the text then?

    I’ve used

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    January 21, 2015 at 11:23

    Hello,

    Please add this code in custom.css file:

    .phonenumber {
       color: white;
    }

    Thank you.
    Regards,
    Eva Kemp.

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.