Make homepage 1 image only

Xyaxolix

Power Member
Joined
May 16, 2012
Messages
515
Reaction score
243
How can I make my wordpress page to be just 1 image? I don't want any widgets,toolbars etc... I only want image across whole page without any function, I need this for CPA, as landing page. Thanks.
 
Just edit your index.php either manually by downloading it from your theme folder or through Appearance > Editor and replace everything with a html snippet that shows your image. It's really very straightforward if you know basic HTML. If you don't then hire a freelancer to do it for you for $5.
 
for such a simple page why you need wordpress at all? just make a index.html with your image and upload..
 
for such a simple page why you need wordpress at all? just make a index.html with your image and upload..

Yeah that's a good point actually lol. Didn't think of it when I first replied him.

For a 1-image page you need an index.html file with exactly 6 rows of content :P
 
Yeah that's a good point actually lol. Didn't think of it when I first replied him.

For a 1-image page you need an index.html file with exactly 6 rows of content :P

lol, sometimes the easiest solution is the last solution one comes up with :)

and actually it can be just 1 line of code, a simple A and IMG tag..nothing else is needed
 
Okay, I figured out how to make image to show, but it isn't showing on whole page. How to make it to be fullwidth?
 
How to make it to be fullwidth?

If you wanted the image to stretch to 100% of the browser window you could put some CSS inside the STYLE attribute on your IMG tag. The height should scale proportionally with the width. Be sure to remove any existing height and width attributes from the IMG otherwise they may conflict with that CSS.

Code:
<img src="xxx" style="width:100%;" />

Hope this helps.
 
Okay, I figured out how to make image to show, but it isn't showing on whole page. How to make it to be fullwidth?

you can do it in 2 ways

one as mentioned above
Code:
<img src="abc.jpg" width="100%" />

or

Make you image as background of div tag and use css to repeat image , this way loading will be quick.
 
Back
Top