Tagged: ,

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #218547

    Hi, I am having trouble placing an image in the header. I have a logo there already but want to place some text as an image beside it. I am using a child theme.

    #218644

    Hi Richard,

    Can you post the link to your website please?

    Also, the image you’d want to put and a mockup of what you want to achieve would be helpful.

    Regards,
    Josue

    #219059
    This reply has been marked as private.
    #219151

    Hi,

    Can you post the link to your website please?

    Regards,
    Josue

    #219157

    Hi Josue
    Not possible as it on localhost
    regards
    Richard

    #219164

    Hi,

    Open header.php and look for line 152. after that container div put this:
    <img src="_THE_IMG_URL" class="custom_logo">

    Then, add this to the Quick CSS:

    .custom_logo{
    position: absolute;
    left: 70px;
    top: 5px;
    }

    You may need to adjust the left value a bit.
    Regards,
    Josue

    #219191

    Hi
    Strange but I am getting this error

    Parse error: syntax error, unexpected ‘<‘ in C:\WAMP\www\pmaaustralia\wp-content\themes\enfold\header.php on line 153

    but the entry is this

    Any ideas?
    Regards
    Richard

    #219192

    Hi!

    Make sure you don’t put it inside the <?php tag:

    Regards,
    Josue

    #219193
    This reply has been marked as private.
    #219196

    Hi,
    I knew that!! dah!! Thanks for your help. Appreciate it

    regards
    Richard

    #219198

    You are welcome, glad we could help :)

    Regards,
    Josue

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Placing an Image in the header’ is closed to new replies.