Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • UPDATE

    So I went and inspected the element on my site lorcanfarrellcounselling.ie and this is what it reads:

    <img src="https://www.lorcanfarrellcounselling.ie/wp-content/themes/twentysixteen/logo.png" width="450px" height="81px" alt="Lorcan Farrell Counselling">

    The reason I’m getting the broken image icon is that the above code is reading from the twentysixteen folder and not the twentysixteen-child folder. So to test this I copied the logo.png into the twentysixteen (and not the twentysixteen-child) folder in cpanel and the image appears on my site perfectly.

    So my question is now, how do I get this:

    <img src="https://www.lorcanfarrellcounselling.ie/wp-content/themes/twentysixteen/logo.png" width="450px" height="81px" alt="Lorcan Farrell Counselling">

    to look like:

    <img src="https://www.lorcanfarrellcounselling.ie/wp-content/themes/twentysixteen-child/logo.png" width="450px" height="81px" alt="Lorcan Farrell Counselling">

    Again, all help is greatly appreciated.

    Lorcan.

    I am an absolute newbie at this so any help would be greatly appreciated.

    I have created a twentysixteen-child theme and it is working. I would like to now replace the standard site name and description with my own custom logo but just can’t make it work. I can change CSS and that has been successful but when I import a header.php file into the child them and replace the code in the way @gurtvh has suggested I simply get a broken image link when I refresh.

    It feels like its a file naming problem. This is what I’ve entered in:

    <div class="site-branding">
    <img src="<?php echo get_template_directory_uri(); ?>twentysixteen-child/logo.png" width="250px" height="90px" alt="Some alt text here">
    </div><!-- .site-branding -->

    I have the logo.php file saved in the twentysixteen-child folder but can’t for the life of me figure out what I’m doing wrong.

    Any help would be greatly appreciated.

    Lorcan.

Viewing 2 replies - 1 through 2 (of 2 total)