Site logo

Archived topic

Create a homepage

18 replies · Started by Jeena on January 9, 2023

Viewing posts 1–15 of 19

Hi

I want to recreate a homepage using generateblocks. I have a homepage built with elementor pro, but I want to create one with generatepress to reduce plugins on my blog, and fed up with the updates as well!
I created a new page- home - changed the background, but for some reason, the container is not full width even though I have changed it to full width on settings. I have attached an image for reference.

Please help

Thank you

Hi,

This is what it looks like on the home page.

Thanks

Hi Jeena,

The link you've provided takes me to an error 404 page.

Can you confirm?

Let me know :)

Hi Leo,

Sorry!

Please find the link attached for the homepage. I have attached my current homepage as well.

Thanks

Hi Leo,

Any updates?

Thank you

Hi Fernando,

No problem at all.

Are you talking about this?

I have attached images below for reference.

Thanks

Hi Jeena,

The screenshot you attached is the block setting, not the layout element that Fernando was referring to.

As he said, if you do have the layout element, you can find it at appearance> elements.

Hi Ying,

On appearance, I can see the element option. t

Do I need to create an element for the homepage? Sorry, I am confused.

Thanks

SCREENSHOT

Hi Fernando,

I did change the container to 2000px; however, it is still the same.

I have attached the link to the homepage I made with Elementor and the one created with Generatepress.

Thank you again.

Jeena

Your site seems to have this CSS which sets the content container of pages/posts that have no sidebars to max 800px.

.no-sidebar .entry-content {
    max-width : 800px;
    margin-left : auto;
    margin-right : auto;
}

I can not tell where it comes from, can you check customizer > additional css?

If it's not there, can you disable all your plugins so we can take another look?

Hi Ying,

Yes, I found the code on the additional CSS.

.no-sidebar .entry-content {
max-width : 800px;
margin-left : auto;
margin-right : auto;
}

So, shall I change the max-width?

Thanks

Hi there,

that depends, are you wanting to keep parts of yours site at 800px ? If NO, then delete that CSS.
If yes, and you want to exclude the home page then change it to:

.no-sidebar:not(.home) .entry-content {
    max-width : 800px;
    margin-left : auto;
    margin-right : auto;
}

Hi David,

Got it! Thank you so much.

Finally, I can create a homepage with generatepress! Time to delete Elementor :)

One last question

How should I add subscribe newsletter to my front page?

I have a newsletter created in WP form.

This is the step I followed:

#1 Appearance > Element > Add new > Hook > generate_after_loop

I pasted the shortcode from the wp form.

I want to add a newsletter sign-up after the loop query on the front page.

I appreciate your help.

Thank you
Jeena

This archived topic is closed to new replies.