Background image change in Sportal

  • joa
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 11 months ago #28591 by joa
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

Please Log in to join the conversation.

  • joa
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 11 months ago #28592 by joa
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?

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
11 years 11 months ago #28598 by milos
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

Please Log in to join the conversation.

  • joa
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 11 months ago #28608 by joa
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

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
11 years 11 months ago #28609 by milos
Try this:
Code:
background-image: url(http://joomla.bc-marburg.de/images/background/Parkett_30.jpg)
The following user(s) said Thank You: joa

Please Log in to join the conversation.

  • joa
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 11 months ago #28610 by joa
That's it
Thanks!

Please Log in to join the conversation.

Time to create page: 0.092 seconds
Powered by Kunena Forum