CSS class does not work as expected

(Oliver) #1

Hey guys,

I did not figure out how to make this classname-field work.
As you can see in the image below both images share the class-name “test”.

However it only works, when I add code:

What am I doing wrong?

Cheers, Oliver


share your document so we can see exactly how you are adding the styles

I have a feeling you are adding styles to the Head HTML and unticking “protect from external stylesheets”

In order for elements in Hype to take on Style information (that can be used in the Inpector) you must use !important after the declaration e.g

.text {
    background-color: red !important;