Site logo

Archived topic

Page Header Image do not save link

13 replies · Started by Mizanur on August 29, 2014

Viewing posts 1–14 of 14

Hi Tom,
I am trying to add a picture in a page using 'Page Header Image' feature with Hard Crop enabled.

But I am unable to do that!

After adding a picture from Media library and updating, the Page Header Image' link becomes empty! What I am doing wrong?

Thanks in advance.
Mizanur

Hi Mizanur,

Most likely, the page template for the page you’re saving is set to a template that doesn’t exist.

Try creating a new page and selecting the option. If it works, then it’s the page template issue.

This could happen if you have a theme installed before GeneratePress and had a page template set. Then you switched to GeneratePress, and the page template no longer exists.

Let me know.

Hi Tom,
You are super genius. :)
It is the second issue. I made new page/post and it is working.

Question: Do I have to re-create all the pages to post pictues? I can do that but it's a hassle. Any way to make it easy?

Thanks.
Mizanur

Did every page/post used to have a page template that doesn't exist anymore?

To answer your question, page template does not exist anymore.
Anyway, it was a very small website of a client (very static). I created all the pages and now all are working fine.

Thanks God it was not a huge website!

Thanks for your help.
Regards,
Mizan

There is a function I can write up if you ever encounter this with a big website.

Glad it's working now :)

Hi Tom,
Remember this?

Now, trying to add a picture in a post using ‘Page Header Image’ feature with Hard Crop enabled.
I can see the picture at the back-end but can not see in the preview or after publish.

I changed the theme from studiopress genesis to yours.

What can I do?
Thanks
Mizan

Hi Mizan,

When you save the page, does the URL disappear from the image field? Like nothing is saving?

Let me know :)

Hi Tom,

No, URL does not disappear from the field. It saves.
I am using this for post.

Thanks.
Mizan

Hmm, can you link me to the page where the image isn't showing up? Either in here or via email?

Thanks :)

You have this CSS set:

.page-header-image-single {
      display: none;
}

You can target that specific page to show it with this:

.postid-6317 .page-header-image-single {
      display: block;
}

Stupid me. I did not notice that.
Too much coffee!
Thanks Tom. Have a great weekend. :)

You too!

This archived topic is closed to new replies.