Site logo

Archived topic

Some dubts with build a home with hooks part II

19 replies · Started by rafel jesus on November 22, 2020

Viewing posts 1–15 of 20

Hi There
I would like to make a landing similar to this
website like this

Can I have a header with a carousel of photos with Hooks?
Thanks

Hi David.
Where I put the Shortcode?
Thanks

Hi there.
I know that, but I don't know how to put shortcodes with HTML, an excuse that I don't know code in HTML, CSS or PHP.
Thanks for your help.

The slider plugin should provide you with a shortcode. They look something like this:

[slider-shortcode]

You simply need to copy and paste the code the plugin provides into your Header Elements content.

Hi David
I have that [carousel_slide id='218']
And now appear that next main web

thanks for your help

Is that what you needed ?

Hi there.
I do it, I'm sorry
thanks for your help

There is an issue wit the Slider plugin you're using the elements within have no set height so they are not displaying. I would suggest changing the Slider Plugin to something like SmartSlider or Meta Slider as we know this works correctly within a Header Element.

Hi David
What plugin is more light for Gutenberg?
Thanks for your help.

No slider plugins are particularly lightweight. The issue with using the Gutenslider is that its CSS is not dynamic so it won't work in a header element or hook.

A lot of users work with SmartSlider or MetaSlider.

If you wanted to use GutenSlider you would have to add it to the Page Content, and simply remove the content from the Header Element.

Hi David.
With metaslider is working perfectly.
But now there's a space on the top without the slider, how can I do that?
I share two images with the settings.
first one image
second one image
And you can see in the Header Elemet the h1 text but this text doesn't appear.
How can I do that?
Thanks for your help and patient.

This archived topic is closed to new replies.