3

Having a parent theme, I have created a child theme. (Magento 2.2)

Parent theme: Mgs/claue

Child theme: Bee/elag

In the web there is a Title of page with a background css:

.page-title-wrapper {
background-color: #f7f7f7;
padding: 58px 0 55px;
text-align: center;
background-image: url('../images/shop-category.jpg');
background-size: cover;
background-repeat: repeat-y;
position: relative;
background-position: center center;
background-attachment: scroll;}

The image url shown is:

https://domain.tld/pub/static/version1508230959/frontend/Bee/elag/es_ES/images/shop-category.jpg

The background image is in:

/app/design/frontend/Mgs/claue/web/images/shop-category.jpg

I have added the image that I want to replace in:

/app/design/frontend/Bee/elag/web/images/shop-category.jpg

It does not work, it isn't replaced, I have deleted cache but nothing.

What can happen?

1 Answer 1

2

It is solved by changing the environment to development:

php bin/magento deploy:mode:set developer
1
  • 1
    Thanks. What is pretty strange - i have to set this on each image change. So this mode do some further jobs
    – develth
    Commented May 7, 2019 at 14:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.