Background image on top of the page
Professional Joomla restaurant template comes with a custom animated modules and advanced typography elements.
- GK User
- Fri Mar 27, 2015 3:13 pm
Hello,
is it possible to have an background image (png with transparent background) on top of the page.
Repeated x and height 160px.
THe background image should only be shown on desktops. For mobile devices like smartphones or tablets the backround should be unchanged.
To show my idea i attached a picture.

is it possible to have an background image (png with transparent background) on top of the page.
Repeated x and height 160px.
THe background image should only be shown on desktops. For mobile devices like smartphones or tablets the backround should be unchanged.
To show my idea i attached a picture.

-

- Junior Boarder
- teitbite
- Sat Mar 28, 2015 7:24 pm
Hi
Please edit file /layout/default.php and right before ending body tag add this code:
than tell me the url to Your site and url to the image You want to use for this background,
Please edit file /layout/default.php and right before ending body tag add this code:
- Code: Select all
<div id="topBg"></div>
than tell me the url to Your site and url to the image You want to use for this background,
-

- Moderator
- GK User
- Mon Mar 30, 2015 9:11 am
First, thanks for your help.
The site is still in development, but i uploaded and installed the system on my test server.
We are planning to make an non-profit website for our kindergarden, so we are looking for the template that fits our needs.
The URL is http://p206012.mittwaldserver.info/
The path to the background image is http://p206012.mittwaldserver.info/temp ... ground.png
layout/deault.php is edited as you explained.
The site is still in development, but i uploaded and installed the system on my test server.
We are planning to make an non-profit website for our kindergarden, so we are looking for the template that fits our needs.
The URL is http://p206012.mittwaldserver.info/
The path to the background image is http://p206012.mittwaldserver.info/temp ... ground.png
layout/deault.php is edited as you explained.
-

- Junior Boarder
- teitbite
- Mon Mar 30, 2015 8:22 pm
Please add this code to override.css and make sure override is enabled in template settings.
- Code: Select all
#topBg {
background: url("http://p206012.mittwaldserver.info/templates/gk_quark/images/background.png") repeat-x scroll 0 0 transparent;
height: 160px;
position: absolute;
top: 0;
width: 100%;
}
-

- Moderator
- GK User
- Tue Mar 31, 2015 1:00 pm
Thanks.
It works perfect.
It works perfect.
-

- Junior Boarder
- teitbite
- Fri Apr 03, 2015 11:27 am
Hi
No problem. Glad I could help
No problem. Glad I could help
-

- Moderator
6 posts
• Page 1 of 1
