1. jascanio
  2. Sherlock Holmes
  3. Commercial Templates
  4. Saturday, 07 November 2015
  5.  Subscribe via email
Hi,
I have a multilingual site. This is for an international event.. The logo is the same for each of the four languages, but texts of slogan and dates should change for each language. I have thought having one template per language, but don't quite like this option as I would need to add even more language assignments.

Because my current logo has a transparent backgronud I had thought of clearing language-dependant items (slogan and dates) so as the logo would only be an image with a couple of common elements to all languages (event title and venue). Then I would create one module per language including the text that changes (dates and slogan), and place it behind the logo, adjusting z-indez, margins and so on, so it looks just one piece, although actually being two (the template's image logo itself, and the module-based text behind)

I would hence need to create a new module position for the texts that changes. I had a look at the tutorial about creating a new module position in the header, but don't know whether this applies for Madison template, as cannot find the piece of code in header.php.
Is there a different way to proceed with Madison?

Thanks in advance for your reply

Regards,
Juan
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciarán,
Thanks for your reply.
Ok. No problem. I'll do what you suggest.
Regards,
Juan
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Juan

Sorry to say what you wish to achieve is not really possible. On smaller screen sizes, as your logo image reduces in size, your slogan will become out of place.

The only possible solution I believe would be to create a template style for each language and set the corresponding logo with the slogan for each.. http://www.joomla51.com/tutorials/item/creating-multiple-template-styles

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciarán,
Thanks for your reply.
I've positioned template's logo in the left hand side corner using the template's offset parameters, so I was trying to place the slogan position behind te logo, which is transparent.
I'm trying to have the new slogan placed behind the template image logo, so the text in the module seems to be a part of the logo. By creating multiple instances of a module (one per language) in the new slogan position I can make the text in the module change according to language.
I would explain this as having two stacked transparent slides. One is the image logo and, the other, is an html module containing some text, as depicted in the image I attach.
Thanks in advance for your advice.



Regards,
Juan
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Juan

To ensure your slogan remains centered ensure not to use any fixed horizontal positioning (margin-right: 863px). The slogan should have been centered by default.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciarán,
Thanks for your help and for creating a new module position for me.
I added some CSS and positioned the module right where I wanted. But that's what I thought. When I viewed the page from a different size screen I get the module scrolled horizontally. My code is probably wrong.
This is the code I used:
.slogan {
margin-right: 863px;
position: relative;
top: -150px;
margin-bottom:-70px;
}
How can I set the text in the module to be fix (like the logo), regardless the screen size?
Thanks again.
Regards,
Juan
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hi
Sent as requested. Can reach my web here

Thanks in advance for your help
Regards
Juan
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Juan

May I suggest sending us temporary administration access to your Joomla administration and we will create the module position for you. Please paste a link to this post in your email for our reference.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.