- Posts: 22
- Thank you received: 0
Background with multi language
-
tinmar
Inactive member - Topic Author
- Member
Less
More
11 years 3 weeks ago #35472
by tinmar
Background with multi language was created by tinmar
The problem is to install multi language and only see the first image, then melted to white.
After many revisions and testing, I found the problem , the system searches images in the installed languages, for example:
background-image: url( www.mydomain.com/ es/templates/hot_destinations/images/bg1.jpg); background-attachment: fixed; background-position: 50% 50%; background-repeat: initial initial;
opacity: 1; background-image: url( www.mydomain.com/ es/templates/hot_destinations/images/bg2.jpg); background-attachment: fixed; background-position: 50% 50%; background-repeat: initial initial;
The searches all the languages that I have installed in the wrong place.
If writing to this address, the images are perfectly in the browser.
www.mydomain.com/templates/hot_destinations/images/bg1.jpg
I need to change the path location of the background images.
Thank you very much.
After many revisions and testing, I found the problem , the system searches images in the installed languages, for example:
background-image: url( www.mydomain.com/ es/templates/hot_destinations/images/bg1.jpg); background-attachment: fixed; background-position: 50% 50%; background-repeat: initial initial;
opacity: 1; background-image: url( www.mydomain.com/ es/templates/hot_destinations/images/bg2.jpg); background-attachment: fixed; background-position: 50% 50%; background-repeat: initial initial;
The searches all the languages that I have installed in the wrong place.
If writing to this address, the images are perfectly in the browser.
www.mydomain.com/templates/hot_destinations/images/bg1.jpg
I need to change the path location of the background images.
Thank you very much.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 3 weeks ago #35475
by ivan.milic
Replied by ivan.milic on topic Background with multi language
That can be solved form .htaaccess by adding some rule but I'am not expert on URL rewriting just google and try.
Please Log in to join the conversation.
-
tinmar
Inactive member - Topic Author
- Member
Less
More
- Posts: 22
- Thank you received: 0
11 years 2 weeks ago #35603
by tinmar
Replied by tinmar on topic Background with multi language
My little knowledge of writing, I make impossible the search for a solution, someone who can give us a light of knowledge on this subject?.
Thank you very much.
Happy holidays.
A greeting.
Thank you very much.
Happy holidays.
A greeting.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 2 weeks ago #35607
by ivan.milic
Replied by ivan.milic on topic Background with multi language
See answer on bottom os this page:
expressionengine.stackexchange.com/quest...irectory-folder-name
I think replacing index.php with (/en/|/es/) should do the trick
expressionengine.stackexchange.com/quest...irectory-folder-name
I think replacing index.php with (/en/|/es/) should do the trick
Please Log in to join the conversation.
Time to create page: 0.201 seconds