Sign in

Adding an image on the Hero Section

  • This topic has 1 reply, 1 voice, and was last updated 1 year, 7 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6975
    Avatar photoalexandre

    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 photoalexandre

    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:

     

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