[Resolved] Some dubts with build a home with hooks part II

Home Forums Support [Resolved] Some dubts with build a home with hooks part II

Home Forums Support Some dubts with build a home with hooks part II

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #1540804
    rafel jesus

    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

    #1540934
    David
    Staff
    Customer Support

    Hi there,

    you would require a Slider Plugin like Smart Slider 3 or Meta Slider.
    Once the Slider is set up you can add the Shortcode the plugin provides to a Header Element:

    https://docs.generatepress.com/article/header-element-overview/

    #1541366
    rafel jesus

    Hi David.
    Where I put the Shortcode?
    Thanks

    #1541714
    Leo
    Staff
    Customer Support
    #1542541
    rafel jesus

    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.

    #1542552
    David
    Staff
    Customer Support

    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.

    #1542562
    rafel jesus

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

    thanks for your help

    #1542570
    David
    Staff
    Customer Support

    Is that what you needed ?

    #1542589
    rafel jesus
    #1542704
    Leo
    Staff
    Customer Support

    Can you clear and disable your caching plugin first?

    Please always do this when we are trying to help:
    https://www.screencast.com/t/VrCHZlNvTk

    #1542988
    rafel jesus

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

    #1543686
    David
    Staff
    Customer Support

    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.

    #1543700
    rafel jesus

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

    #1543964
    David
    Staff
    Customer Support

    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.

    #1544517
    rafel jesus

    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.

Viewing 15 posts - 1 through 15 (of 20 total)
  • You must be logged in to reply to this topic.