- This topic has 12 replies, 4 voices, and was last updated 2 years, 3 months ago by David.
-
AuthorPosts
-
January 3, 2022 at 11:59 am #2067933Friso
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,
FrisoJanuary 3, 2022 at 12:06 pm #2067944YingStaffCustomer SupportHi 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; }
January 3, 2022 at 12:15 pm #2067963FrisoThanks Ying! Where do I insert this code?
January 3, 2022 at 12:59 pm #2068012YingStaffCustomer SupportYou can add it to customizer > additional CSS.
January 3, 2022 at 2:25 pm #2068098Frisothanks very much Ying.
January 3, 2022 at 4:34 pm #2068187YingStaffCustomer SupportNo problem 🙂
January 4, 2022 at 1:06 am #2068431FrisoHello 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?
January 4, 2022 at 1:08 am #2068432FrisoI did it here: https://elementor.com/help/background-site-settings/
January 4, 2022 at 1:16 am #2068441ElvinStaffCustomer SupportHi 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.January 4, 2022 at 2:09 am #2068476FrisoI’m totally lost I’m affaid. I don’t understand how to easily edit pages in GeneratePress…
January 4, 2022 at 2:10 am #2068477FrisoIt 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.
January 4, 2022 at 2:26 am #2068489FrisoWhen I would like change things like it is written here:
https://docs.generatepress.com/article/adjusting-the-featured-images/On the site itself I get the message:
This page uses a Hero-element (some options don’t work / not applicable).When I try to edit the page, I only see the header Image, but not the blog posts?
January 4, 2022 at 10:11 am #2069061DavidStaffCustomer SupportHi there,
the site uses a Header Element to create the Merged Site Header Effect seen on the Front Page:
https://docs.generatepress.com/article/header-element-overview/
And for the hero section ie. the large background image with text over the top = that is added using a Block Element:
https://docs.generatepress.com/article/block-element-page-hero/
The Elements can be found in Dashboard > Appearance > GeneratePress.
-
AuthorPosts
- You must be logged in to reply to this topic.