Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Adding an image on the Hero Section

  • #6975
    Avatar photo[anonymous]

    Hi!

    I would like to add an image on the Hero Section, above the “Hero text”.

    The theme I am using is Mercury (v. 2.2.2.0)

    How can I do this, please?

    (The Hero section is at the header of the blog, before the posts)

    #6976
    Avatar photo[anonymous]

    Hello again!

    I am very happy to share my first tip with the community.

    I discovered how to fix this by myself.

    Here is the solution:

    Go to this directory:

    /home/the-user-directory/Documents/Publii/sites/name-of-the-site/input/themes/mercury/

    With a text editor, open this file:

    index.hbs

    Find the following piece of code:

    {{{@config.custom.textHero}}}

    Then, above this code, add the following lines: