- Posts: 103
- Thank you received: 1
Background image change in Sportal
-
joa
Inactive member -
Topic Author
- Member
-
Less
More
11 years 11 months ago #28591
by joa
Replied by joa on topic Background image change in Sportal
I added the following lines to htaccess.txt
#removes trailing slash if not a directory
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ /$1 [R=301,L]
and renamed it to .htaccess in the Joomla root directory but it did not work
#removes trailing slash if not a directory
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ /$1 [R=301,L]
and renamed it to .htaccess in the Joomla root directory but it did not work
Please Log in to join the conversation.
-
joa
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 103
- Thank you received: 1
11 years 11 months ago #28592
by joa
Replied by joa on topic Background image change in Sportal
I added then the absolute path in template_css.php and set the reference to #
background-image: url(joomla.bc-marburg.de/images/Parkett_blau_30.png);
# url(../images/background/Parkett_30.jpg);
result is again a blue background across all sites. Where do I need to put that line of code?
background-image: url(joomla.bc-marburg.de/images/Parkett_blau_30.png);
# url(../images/background/Parkett_30.jpg);
result is again a blue background across all sites. Where do I need to put that line of code?
Please Log in to join the conversation.
-
milos
Support Staff -
- Moderator
-
Less
More
- Posts: 6806
- Thank you received: 724
11 years 11 months ago #28598
by milos
Replied by milos on topic Background image change in Sportal
1. You should not edit htaccess.txt. You should just rename this file to .htaccess and upload to the Joomla root folder.
2. Who told you to put # in there? Please read my previous post carefully. I just told you to use absolute paths for background images links.
Thanks
Milos
2. Who told you to put # in there? Please read my previous post carefully. I just told you to use absolute paths for background images links.
Thanks
Milos
Please Log in to join the conversation.
-
joa
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 103
- Thank you received: 1
11 years 11 months ago #28608
by joa
Replied by joa on topic Background image change in Sportal
Ok, I renamed the original file to htaccess.txt to .htaccess
and added the absolute path in template_css.php in the body area.
background-image: url(joomla.bc-marburg.de/images/background/Parkett_30.jpg)
Home page has the background but all other subpages do not.
Is it the wrong syntax or area?
Thx
and added the absolute path in template_css.php in the body area.
background-image: url(joomla.bc-marburg.de/images/background/Parkett_30.jpg)
Home page has the background but all other subpages do not.
Is it the wrong syntax or area?
Thx
Please Log in to join the conversation.
-
milos
Support Staff -
- Moderator
-
Less
More
- Posts: 6806
- Thank you received: 724
Time to create page: 0.092 seconds