Member-only story

Add Dropdown Menus in ghost Theme

Wendee ๐Ÿ’œ๐Ÿ•
4 min readMar 5, 2023

image from https://ghost.org

As promised, here is the tutorial to add dropdown menus in our ghost.io website! (Sorry I was busy job hunting last semester ๐Ÿ’ผ It was until I got Covid then I realize I havenโ€™t finished this article ๐Ÿ˜…) We will be testing in our local docker environment (๐Ÿ‘‰ can refer to this post.)

  1. Download a theme template
  2. Customize its header
  3. Add CSS styling
  4. Publish our new theme

Our Goal

I have articles under different tags:

I want to display all article tags in the header. Each category will show a dropdown list of posts tagged with this label.

Our final result โœจ

1. Download a template

Itโ€™s always easier to start with a template ๐Ÿ™ƒ Ghost has many templates here. In this demo, we will use Liebling.

Install Liebling โ†’ Download and install manually

1๏ธโƒฃ We will get a zip file named liebling-master.zip

2๏ธโƒฃ Run ghost in docker (In docker desktop, press start โ–ถ)

3๏ธโƒฃ In http://localhost:3001/ghost, our ghost control backend, upload the zip file.

Setting โ†’ Design โ†’ Change theme โ†’ Upload theme โ†’ upload our zip file here!

Nice! Letโ€™s check if the new theme is imported. Under the repo ghost/dest/themes, there should be a folder called liebling-master. Also, our localhost:3001 should look somewhat like this ๐Ÿ‘‡

2. Customize its header

Create an account to read the full story.

The author made this story available to Medium members only.
If youโ€™re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

No responses yet

Write a response