Trying to add White Blank Tempelate

Hi,
I am trying to add a custom white blank page to the theme. I looked online and saw that i need to save this code into a PHP file using TEXTEDITOR on mac.

http://starghi.com/index.php/portfolio/sample-gallery-2/

For example on this page I would like to have only the header that has “Sadra K. Targhi Photography, ALL projects, contact me.” I dont want anything else on the page other than the picutures!

Below is the CSS code I found. Is this the right one?
Furthermore, how do I add the PHP file to the theme so I could use it?

Thanks in advance!

`<?php
/**
Template Name: Page with background only

*/
?>
<html>
<head>
<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
<style type=”text/css”>
body { background-color: #cccccc; background-image: url(‘http://uffekirkegaard.dk/wp-content/uploads/2010/10/bg.jpg’); background-repeat: repeat-y; background-position: top center; background-attachment: scroll; }
#page-content { width: 800px; margin: 20px auto; }
</style>
<title><?php wp_title( ‘|’, true, ‘right’ ); bloginfo(‘url’); ?></title>
<?php wp_head(); ?>
</head>

<body>
<?php while (have_posts()) : the_post(); ?>
<div id=”page-content”>
<?php the_content(); endwhile; ?>
</div>
</body>
</html>

What do I do after this step? I need help.

Thank you

Hi @sadra,

I hope you are well today and thank you for your question.

This is not right code. First you have to create child theme of Shapely theme and create custom page template in it as described here https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/

Do not write CSS code in the template file but add it in the style.css file of child theme.

Developing custom code for custom functionality is beyond the scope of support that we provide here.

If you are not a developer then you can consider hiring a developer to develop it for you. You can hire a developer from any freelance site. Colorlib recommends the developer https://www.upwork.com/freelancers/~011652ffec8865c6d5

Best Regards,
Movin