• Hello,
    Is it possible to edit the top of the free generatepress theme. Put an image, a slideshow, change the color of the menu box. Sorry for my english google.

    regards

    DB

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Tom

    (@edge22)

    Hi there,

    You can upload an image into that area inside “Customize > Site Identity”.

    To add a slider, you’d need to:

    a) Use a function like this:

    add_action( 'generate_before_header_content', function() {
        echo do_shortcode( '[your_slider_shortcode]' );
    } );

    b) Use the “Elements” module in our premium version: https://generatepress.com/premium/#elements

    You’ll need a slider plugin of some sort (Smart Slider 3 is a great one).

    To change the menu colors, you can:

    a) Use CSS: https://docs.generatepress.com/article/changing-navigation-colors/

    b) Use the “Colors” module in our premium version: https://generatepress.com/premium/#colors

    Let me know if you need more info ??

    Thread Starter Cocod

    (@cocod)

    Hello,
    Thank you for your quick reply.
    Here is the code that I put and it did not work, there are two errors and I do not see them.

    add_action(generate_before_header_content, function() 
    {
        echo do_shortcode( '[https://sitemyriam.local/wp-content/uploads/2018/10/couche_soleil_web.jpg]);
    }
    Theme Author Tom

    (@edge22)

    Hi there,

    That just looks like an image? If so, you can upload it in “Customize > Site Identity” as your “Logo”.

    No need for the function ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Edit the top of the website under generatepress’ is closed to new replies.