Support Forums

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

What CSS do I add for page background image

Featured Lock Resolved Issue
What CSS do I add for page background image... I am not using page builder...

Added this which I normally use and it's not working:

http://xtreme-traction.com/tucson/

body.bg { background:url(../images/background/black-jersey.jpg) no-repeat center top fixed!important; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }

Trey

2 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Add this css code inside on your custom.css file.


body.layout-default {
background: url(../images/background/black-jersey.jpg) no-repeat center top fixed!important;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}


-Thanks


There are replies in this post but you are not allowed to view the replies from this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 119
Sifat

Sifat

Total Accepted Answers: 117
Toufiq

Toufiq

Total Accepted Answers: 54
Pavel

Pavel

Total Accepted Answers: 5
Peter Atkin

Peter Atkin

Total Accepted Answers: 2

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us