Css background image

i trying add bg image to html file with css
on pc chrome and phone html viewer succesfully show bg image


but in webviewer bg image not show canu help me

here codes

background-attachment: fixed
background-position: center;
background-image: url(“aa.jpg”);
background-size: 100% 100%;
background-repeat: no-repeat;
font-family: “Nixie One”, “Segoe UI”, “Helvetica Neue”, sans-serif;
font-weight: 400;
margin: 0;

The webviewer is not a full browser. There will be codes that aren’t recognized by the webviewer.

1 Like

maybe but bg color code is working

but i guess background-image not.

did you upload the file aa.jpg into the assets of your app?
did you test this using the companion app?
or is this only an issue after building the app?

you already had issues in the same project, see your other thread

if you use html files including js and css files, which use a directory structure, you have 2 options:

  1. upload all files into the assets of your app and modify all paths inside all html, js and css files to use that main directory,
  2. or (probably easier) download your project (aia file) onto your computer, make a backup just in case (you know to have backups is always recommended…) open it using 7zip, drag your complete directory structure inside subdirectory assets, save the modified project (aia file) and upload the modified project to Makeroid

Taifun

2 Likes