CSS changes not reflected

Hi all,

I have a beginner’s question…
has changed the size of an image in CSS and I do not see it reflected.

.site-head-logo img
/* height: 28px; */
height: 90px;

I erased the cache [yarn cache clean]
and I’ve restarted [ghost restart]

and I don’t see the change
Am I doing something wrong or have I forgotten a step?

Thank you very much

URL : http://g.parquizado.com:8080/

Ghost-CLI version: 1.12.0
Ghost version: 3.0.2 (at /var/lib/ghost)
Theme London Version 1.0.0

Have you done yarn install in the directory of your theme? And then after that, have you done yarn dev?

ops…
Yarn install?
hehe

I just found out there’s that command ;-(

I reiterate that I’m a novice, but I want to learn
I’m using an install docker in, which I think comes with Linux Alpine and I get this message:
“in production mode”

marting@3570e3b6ada5:/var/lib/ghost/content/themes/London-master$ yarn install
yarn install v1.19.1
[1/5] Validating package.json…
warning london@1.0.0: The engine “ghost” appears to be invalid.
warning london@1.0.0: The engine “ghost-api” appears to be invalid.
[2/5] Resolving packages…
[3/5] Fetching packages…
info fsevents@1.2.7: The platform “linux” is incompatible with this module.
info “fsevents@1.2.7” is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies…
error Could not write file “/var/lib/ghost/content/themes/London-master/yarn-error.log”: “EACCES: permission denied, open ‘/var/lib/ghost/content/themes/London-master/yarn-error.log’”
error An unexpected error occurred: “EACCES: permission denied, mkdir ‘/var/lib/ghost/content/themes/London-master/node_modules’”.
info Visit yarn install | Yarn for documentation about this command.

marting@3570e3b6ada5:/var/lib/ghost/content/themes/London-master$ yarn version
yarn version v1.19.1
info Current version: 1.0.0
ops…

Ghost-CLI version: 1.12.0
Ghost version: 3.0.2 (at /var/lib/ghost)

First install yarn globally -brew install yarn if you use macOS . and go to directory your ghost theme with terminal.

Then type yarn list. you will watch your package list. try command yarn dev . type yarn add <package name>

Many thanks Ishsan,

In these months I learned many things

We’ve recently added a tutorial on how to use Gulp with Ghost themes. Gulp is the tool we use to help with compiling our CSS and JavaScript in themes such as London. The following tutorial explains how you can use it when editing Ghost themes and how to use it yourself from scratch:
https://ghost.org/tutorials/how-to-use-gulp-in-a-ghost-theme/

1 Like