- This topic has 1 reply, 2 voices, and was last updated 8 years, 7 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
	
Viewing 2 posts - 1 through 2 (of 2 total)
	
- You must be logged in to reply to this topic.


Home › Forums › Pro Themes › Education Hub Pro › Background image on specific page
Tagged: background image
Hi. I have this site I want to have an image in the background of a single page. How do I do this? Kindly help. Thanks.
Hello @mwjeff,
To change the background image of the single page please use below CSS.
For this goto Admin Panel > Appearance < Customize and paste below given CSS.
body.page-id-361 {
    background-image: url(http://localhost/wordpress/wp-content/uploads/2016/11/6n1ULP.jpg);
    background-repeat: no-repeat;
}Change the URL of the image to your image URL and change the id of the page to your page id . If you want the background image to appear in multiple page then add the page id separated with comma .
example
body.page-id-33,
body.page-id-41,
body.page-id-725
{
    background-image:url('example.gif');
    background-repeat:no-repeat;
   }Hope this helps.
If you have any issue further, please let us know.
Best Regards!!
| Cookie | Duration | Description | 
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". | 
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". | 
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". | 
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. | 
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". | 
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. | 
 
	    


