This question is answered.


Permlink Replies: 3 - Pages: 1 - Last Post: 24 Aug 20, 23:19 Last Post By: JeffTucker Threads: [ Previous | Next ]
al-j

Posts: 72
Registered: 28-May-2012
Adding background image to About.htt page
Posted: 24 Aug 20, 06:39
 
  Click to reply to this thread Reply
How do I add my background image to the "about.htt" page so it will match the rest of my site?

Thanks
Al-J
JeffTucker

Posts: 8,225
Registered: 31-Jan-2006
Re: Adding background image to About.htt page
Posted: 24 Aug 20, 13:32   in response to: al-j in response to: al-j
Correct
  Click to reply to this thread Reply
The actual code will vary, depending upon how you're using the background image. If you're entering an image under Projector > Site > Design > Cover page and telling it to center it and repeat it (like a texture image), then producing the same thing on the About page would require this in Projector > Advanced > Custom code > CSS:
#about-page {
	background: url(graystone.jpg) center center repeat;
}
Use the same file name, of course.

But if you're giving it an image and telling Projector to stretch it to fit, the code would be:
#about-page {
	background: url(myimage.jpg) center center/cover;
}
The skin should probably be updated to do this automatically, though I could argue against it, since the About page shows text over that background image.
al-j

Posts: 72
Registered: 28-May-2012
Re: Adding background image to About.htt page
Posted: 24 Aug 20, 23:18   in response to: al-j in response to: al-j
 
  Click to reply to this thread Reply
Thank you Gromit for for your extremely clear and accurate answer

Al-J
JeffTucker

Posts: 8,225
Registered: 31-Jan-2006
Re: Adding background image to About.htt page
Posted: 24 Aug 20, 23:19   in response to: al-j in response to: al-j
 
  Click to reply to this thread Reply
You're welcome! :)
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums