How to customize the hero section on the homepage? #1327
-
Hello, I'm trying to modify the top section of the homepage: I was able to hide the background dotted image using 1- Remove or modify the purple button ("Example guide") and, of course, add one or more buttons. Could you provide guidance on how to achieve these changes? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Copy Add a button using Bootstrap markup — see Buttons Add an image using a Thulite Images' partial, for example img or picture |
Beta Was this translation helpful? Give feedback.
-
Use the For example: {{- partial "img" (dict "page" . "src" "images/boris-smokrovic-T_diWdiLbg0-unsplash.jpg" "alt" "Orange and green bird on branch of tree" "process" "fill 360x240" "class" "w-auto mx-auto mb-5") }} |
Beta Was this translation helpful? Give feedback.
Copy
node_modules/@thulite/doks-core/layouts/index.html
to/layouts/index.html
and make your changes in the latter (see lines 1..14)Add a button using Bootstrap markup — see Buttons
Add an image using a Thulite Images' partial, for example img or picture