Hiding background image of a field

Avatar

Avatar

deepakt84913413

Avatar

deepakt84913413

deepakt84913413

23-02-2018

How do I hide background image for specific fields using the theme editor? Refer the below image for it. I don't want the background image in the red box to appear when I give a valid input. Thanks in advance for the help.

1426494_pastedImage_0.png

Replies

Highlighted

Avatar

Avatar

James_R_Green

Avatar

James_R_Green

James_R_Green

02-03-2018

Yup that should be fine.

Did you try the other suggestions to try and find the problem?

"

* If you copy the theme using the UI and try the change with the copy does it make a difference?

* If you create a new theme and make your background image change, does that update as expected in your project?

"

Highlighted

Avatar

Avatar

deepakt84913413

Avatar

deepakt84913413

deepakt84913413

02-03-2018

So when I give a build from my eclipse to AEM with a package that contains the theme.css, which was initially created by the theme editor, I dont see the background image in the theme editor even though theme.css has a reference to that background image.

THEME.CSS in crx

1431910_pastedImage_0.png

THEME EDITOR

1431912_pastedImage_6.png

Now if I make any changes in my theme editor, it refreshes the theme.css and erases the references and and whatever that were not present in theme.editor like some padding stuff etc.

Highlighted

Avatar

Avatar

deepakt84913413

Avatar

deepakt84913413

deepakt84913413

02-03-2018

I actually haven't tried those two options yet because that requires me to pull in some extra stuff into my eclipse. I will try it out and see what it does.