Image being hidden if the page is set as the “homepage” under theme settings

Hey !

I need help with ur theme, at the moment I’m trying to make my home page the “homepage” within the theme settings but for some reason every time I do it seems to hide the image

If I make another page the “homepage” the image appears again. What is going on?

You can look at the source code, image is right under “Proudly sponsored by:”
Address: http://alexcamacho.co.uk/sohofc

Please help guys !:grinning:

Hi Alexis,

Thank you for writing in, I see you wrote your image element like this:

<img class="alignnone size-medium wp-image-205" src="../wp-content/uploads/2018/12/48373831_311765659437571_5897723553268105216_n-300x67.jpg" alt="" width="300" height="67">

That leading two periods on your src is the issue, because that means up one folder directory, so your src now will look for the image here: http://alexcamacho.co.uk/wp-content/uploads, while your actual image is located here http://alexcamacho.co.uk/sohofc/wp-content/uploads

Please update your image src to this:

src="/sohofc/wp-content/uploads/2018/12/48373831_311765659437571_5897723553268105216_n-300x67.jpg"

Or better use the absolute link:

src="http://alexcamacho.co.uk/sohofc/wp-content/uploads/2018/12/48373831_311765659437571_5897723553268105216_n-300x67.jpg"

To make sure that src will be updated once you do the find and replace when you migrate the site to live later on.

Hope it helps,
Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.