Back to the Shapespark home page

CSS inside head-end is not working

I have tried everything, but no matter what css style that I put inside the head-end.html,
style is not reflecting in the scene.

can anyone help me with what I am doing wrong?

thanks

Do you have the scene with head-end.html uploaded, so we could take a look at it?

1 Like

the scene is this one:
https://avatarstudio.shapespark.com/msb-viktor-sipek-izlozba/

I have created a head-end.html file inside the scene folder with this content:
(with style tags at the beginning and the end)

.ext-popup {

text-align: center;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;

}

.ext-popup-content {

max-width: calc(100vw - 10px - (10px + 30px));
max-height: calc(100vh - 2 * 10px);
padding: 12px;
font-size: 14px;
text-align: center;
/* position: absolute; */
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;

}

but, I think I have found the problem.
the file was marked as head-end.html.txt because I had file extension hidden in the windows explorer.
let me upload the scene again, and check again.

1 Like

it is working now! thanks for helping me indirectly :slight_smile:

1 Like