Site logo

Archived topic

Adding Image in Home page

15 replies · Started by NaveenKumar Namachivayam on September 27, 2016

Viewing posts 1–15 of 16

How to add a background image with fields like Name and Email to collect email address in home page.

Like in this example http://demo.generatepress.com/

Also, I would like to display recent and popular posts just below the iamge. Is it possible? Thanks!

Hi there,

Are you talking about the top area with the laptop image? If so, I used the Page Header add-on for that.

The actual HTML (collecting emails etc..) is up to you and can be added into the Content area.

For displaying posts, this plugin might help: https://wordpress.org/plugins/wp-show-posts/

Thanks Tom. Any references/plugins to add the fields in Page Header?

Usually the service you use for newsletters (Mail Chimp, Constant Contact etc..) give you the HTML for their forms, which you can then add into the content area of the Page Header.

Thanks Tom :)

No problem :)

Tom,

I added the HTML code on my video page header. But it looks different in mobile and tablet. How do i make it responsive.

Please help me out :)

Thanks!

You would have to use CSS media queries. If you're getting the HTML from a place like Mail Chimp or Constant Contact, they might have a responsive version of the form.

Thanks Tom. I am using MailRelay. They do not have CSS-based forms. Any sample code I can get. As of now, my site is looking good only in browsers. Thanks!

My site: http://www.QAInsights.com

The form actually is responsive - I'm not seeing any difference between the desktop version and the mobile version?

Yes. But in iPad and iPhone, the video is not loading and text box and submit fields are overlapping the Latest Articles content.

Background videos won't load on mobile devices - this is a limitation of the actual mobile devices in order to save you data.

If you set an image in the Image tab, it will use that as a backup when the video can't load.

I'm not seeing any overlap on my phone.

Thanks Tom for the confirmation. Let me add an image. Thanks!

No problem :)

When using an image as fallback, the image always loads first until the video has loaded.
Is there any way around that? Seems a bit clunky to me.

This archived topic is closed to new replies.