Site logo

Archived topic

mellow homepage

12 replies · Started by Friso on January 3, 2022

Viewing posts 1–13 of 13

Hi,

In the site library you can see that on the homepage of the Mellow theme, the blogposts are displayed on top of the header image.
How can I get this same effect? On my homepage the blog posts are all displayed below the header image.

I saw there was a previous post about this, but the answer was erased.

kind regards,
Friso

Hi Friso,

This CSS should bring the content up, but you'll need to change the elementor section's background color to transparent instead of #eeeeee, in order to have the same effect as mellow.

div#page {
    margin-top: -200px;
    position: relative;
    z-index: 100;
}

Thanks Ying! Where do I insert this code?

You can add it to customizer > additional CSS.

thanks very much Ying.

No problem :)

Hello Ying,

It only cuts off part of the top image.

you wrote: you’ll need to change the elementor section’s background color to transparent instead of #eeeeee, in order to have the same effect as mellow.

Do you know where I can do this in elementor?

(I changed background colour in general site configuration to #00000000) but that doesn't help?

Hi there,

You'll have to do it to the main section that contains all the content on the home page.

The settings you'll have to tweak are:

z-index: set it to a value higher than one.
padding-top: set it to 0.
margin-top: set it to a negative value of your preference. (try -120px)
background-color: set it to none or transparent.

I'm totally lost I'm affaid. I don't understand how to easily edit pages in GeneratePress...

It is to much css and other coding stuff for me I'm afraid, just to get the thema displayed in the same way as in the library showcase of GeneratePress.

This archived topic is closed to new replies.