CSS for Custom Page

Hi

Using PHPMaker V2025.11

I have a custom Home Page and want to add an image that will resize to the window - I appreciate I can use CCS for this but not sure where to put it

Pointers appreciated

Kind Regards
John B

Add to [HTML[THEMES][User]

Hi

Further to this researching I found this as an example

<!DOCTYPE html>
<html>
<head>
<style>
body  {
  background-image: url("paper.gif");
  background-color: #cccccc;
}
</style>
</head>
<body>

<h1>The background-image Property</h1>

<p>Hello World!</p>

</body>
</html>

So i guess I need to split and put some of this on my custom home page and some in HTML\Theme\user just not sure how to split it

Thanks in advance

John B

You may simply put the CSS only in the HTML → Styles → User tab.

Hi

So i added

but im not seeing this reflected on my custom file for the home page which is home.php and thats where i want the background image to be

Kind Regards

John B

Hi
Progress using

body {
background-color: lightblue;
}

It does have an impact right at the bottom on some pages like this
image

I just want a background image on my home page which is a custom page

John B

You may want to read background-image. Make sure the path of the image is correct. Press F12 in your browser, go to the Console and Network panel to check for errors.