WordPress.org

Ready to get started?Download WordPress

Forums

Forestly
[resolved] Add phone number to header (5 posts)

  1. IndyITguy
    Member
    Posted 5 months ago #

    How can I add a phone number and a small paragraph to the header of the forestly theme? I'd like to add the phone number just under the social networking icons and the small paragraph to the left of it centered in the header.

  2. IndyITguy
    Member
    Posted 5 months ago #

    nevermind... figured it out... in case anyone comes across this here is what I did.

    CSS

    .phone {
    	clear: right;
    	float: right;
    	width: 30%;
    	padding: 14px 10px 0 0;
    }
    
    .phone p {
    	text-align: right;
    	color: #ff6c06;
    	font-weight: bold;
    	font-size: 30px;
    }

    Put this code
    <div class="phone"><p>123.456.7890</p></div>

    just above this code in the header.php file
    <nav id="site-navigation" class="fosforit-nav" role="navigation">

  3. esmi
    Forum Moderator
    Posted 5 months ago #

    Are you using a child theme for these changes?

  4. IndyITguy
    Member
    Posted 5 months ago #

    yep... Just started using child themes (trying to be better at this). :)

  5. fosforito
    Member
    Theme Author

    Posted 5 months ago #

    Hello IndyITguy, sorry for the late reply.

    Next time you need help, please use our official forums on http://www.fosforito.net/forums/ because I don't visit WordPress.Org very frecuently.

    Best regards,
    Jens Wagner

Reply

You must log in to post.

About this Theme

About this Topic