1. Alvis
  2. Commercial Templates
  3. Monday, 20 July 2015
  4.  Subscribe via email
Hi,
I'm using Ultralite template and in hornav module (header) want to have "Main menu" in Left and "Language switcher" in Right, but how ?
At the moment I don't use icons of social networks, but in future some could be used...

Thanks in advance
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Alvis

Your best option would be to create a new module position in the header area of your template to accommodate your language switcher. For details on creating a new module position may I suggest the following tutorial.. http://www.joomla51.com/tutorials/item/creating-a-new-module-position-in-the-header-area-of-your-template

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran,

Thank you for help, I'll try...
I can't find header.php in my template, what file should I use in that case ?

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

If no header.php exist then you can place the code after the following in your templates index.php (../templates/[YourTemplate]/index.php)...


<div id="header">


CSS can be added to the end of your templates template.css (../templates/[YourTemplate]/css/template.css).

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi,
my Language switcher now in the place, where I want to have it - thank you.
But my drop down menu in header now is covered by the Image slider...

What to change ? I have try to change z-index, but this does not helped...

BR
Alvis
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Alvis

Would you have a URL to an example of this issue?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you Alvis

There does not appear to be any sub menu items for a dropdown in the URL provided?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Alvis

To resolve try adding the following to the Custom CSS field of your templates parameters...


#header {
position: relative;
}
#language-bar {
width: 100px;
}


For the benefit of other users please post your replies to the forum.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
Hello,

in my case I'm using layout.css
and I have found
#header {width:100%; height:45px; float:left; z-index:0;}
.inside {padding:0px 0px 10px 0px;}

and added
#language-bar { position:relative; height:50px; margin:0; padding:0; position: absolute; right:10px; top:12px; width:600px; z-index:99;}

but like I have wrote you before - that changes view on mobile phones, and as I think in monitors with different resolution, then mine.

Using your code, frontend looks messy...

BR
  1. more than a month ago
  2. Commercial Templates
  3. # 8
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Have you tried adding the suggested code to the end of your templates template.css.? Working fine when we add it to your site source via the browser. As CSS is cascading the suggested CSS may be effected by other template CSS. Adding to the end of the template.css will prevent this as this is the last CSS file to be loaded. My apologies for suggesting the 'Custom CSS' field. This option is not available with the Ultralite template.

Setting the #header div to relative ensures your languages module is positioned relative to the #header div rather than the browser window. The #header div has a fixed width regardless of the browser size which will remove any variations to your language modules positioning.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 9
Accepted Answer Pending Moderation
0
Votes
Undo
So,
[ul]
[li]I have deleted #language-bar {.....} from custom.css[/li]
[li]I have added your suggested code to the end of template.css[/li]
[/ul]

You can find the result in my page - this is not what I'm trying to reach.
Do I need to made some changes with a "#header div" record, or not ?

BR
Alvis
  1. more than a month ago
  2. Commercial Templates
  3. # 10
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Alvis

Looking at your templates template.css we are unable to see the suggested CSS. If you could allow us access to your Extensions Manager we will make the amendments for you. Alternatively you can add the following anywhere in your CSS...


#header {
position: relative !important;
}
#language-bar {
width: 100px !important;
}


Ensure to clear your Joomla cache after adding.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 11
Accepted Answer Pending Moderation
0
Votes
Undo
But I did, you can find in attached files...
  1. more than a month ago
  2. Commercial Templates
  3. # 12
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you

Your language module should be now displaying as you wish.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 13
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you,
Now it looks greate !

Thank you !
Alvis
  1. more than a month ago
  2. Commercial Templates
  3. # 14
Accepted Answer Pending Moderation
0
Votes
Undo
seems I misunderstood, "!important" is a command, not a caution... :whistle:

Thank you
  1. more than a month ago
  2. Commercial Templates
  3. # 15
  • 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.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok