How to set backgrounds for desktop / mobile / tablet / etc.

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Dec 21, 2013 4:02 pm
Reply with quote
Report this post
I adjusted the background for my website.

see https://www.gavick.com/documentation/jo ... und-image/

I added the code to the custom css field (template > advanced settings):
Code: Select all
body {
background: #fafafa url("../images/background.jpg"); background-repeat:no-repeat;
}


HOwever when testing my website at a tablet I see the default image, but not my own added image.
How can I adjust that?

The same applies for the '404' page. Is there a way to adjust that page as well?
User avatar
Fresh Boarder

GK User
Sat Dec 21, 2013 5:05 pm
Reply with quote
Report this post
Hi.
First of all, thanks that you have read my guide.
Unfortunately, but as you have noticed it does not include the mobile version.
you have to customize :
1) gk_bluap\css\mobile.css
2) gk_bluap\css\tablet.css
3) gk_bluap\css\small.tablet.css
and add there background image for body.


:idea: ERROR 404 and others
here: templates/gk_bluap/error.php
like this
Code: Select all
<body style="background: #fafafa url("../images/error-background.jpg"); background:cover;">

:!: Unfortunately this page (file) is common to all Joomla 403,404,400 etc. errors
User avatar
Platinum Boarder

GK User
Sat Dec 21, 2013 5:09 pm
Reply with quote
Report this post
User avatar
Platinum Boarder


cron