Black Friday: $40 off GeneratePress One. See pricing

Archived topic

GP vacation template

15 replies · Started by merlin52 on November 3, 2020

Viewing posts 1–15 of 16

I use the GP vacation template.
I want to change the background img. to a slider.
HOW TO DO IT?

Where can I add?
Elements: Home Merge

The page is:
<a href="https://dinnyeshat.hu/"

Yes, you would need to add the Slider Shortcode inside the Header Element titled: Home Merge.

So far OK.
The only question is: how will the slider be on the bottom layer?
I'm trying "gutenberg" and I don't have any experience yet.

Add the Shortcode into the Header Element, before the other content. Once its there i will take a look to see if can position it behind the content with some CSS.

I installed a virgin vacation template on another of my hosts. I made a slider and put the short code in the "Home Merge" element. If you have the opportunity, you should juggle this.

<a href="https://infolingua.hu/

I installed a virgin vacation template on another of my hosts. I made a slider and put the short code in the "Home Merge" element. If you have the opportunity, you should juggle this.

https://infolingua.hu/

What is the issue now?

David Wrote

Add the Shortcode into the Header Element, before the other content. Once its there i will take a look to see if can position it behind the content with some CSS.

I'm waiting

Hi,

You can set your Header Element's Inner container setting to Full Width so the slider uses the full page width.

As for the contents that are suppose to go on-top of the slider, you can wrap them in a div and set its property to absolute.

Example:

[your slider shortcode here]
<div class="page-hero-content-wrapper">
    <h1 class="page-hero-page-title">{{post.title}}</h1>
</div>

You can then set the CSS:

.page-hero-content-wrapper{
position: absolute;
top:0;
left:0;
margin-left: auto;
margin-right: auto;
}
.inside-page-hero{
position: relative;
}

The only question is: how will the slider be on the bottom layer?

All right, thanks for the help!

This archived topic is closed to new replies.