main menu position

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Jul 31, 2014 5:54 pm
Reply with quote
Report this post
Hello,

what is the mainmenu position?

I'd like to put the language switcher module (with flags) at the same level of the main menu on the very right side.

I did not manage to find any position.

I use J3.3 template, and in the demo module position (http://demo.gavick.com/joomla25/startup ... -positions) it seems that the main menu is in the "mainmenu" position, but it's not...

Thanks for your help
User avatar
Expert Boarder

teitbite
Fri Aug 01, 2014 9:16 am
Reply with quote
Report this post
Hi

There is no position for a main menu. Menu is a static element in out templates. You will have to create a new module position for that. Plese take a look here: http://www.gavick.com/documentation/joo ... e-switcher .
User avatar
Moderator

GK User
Fri Aug 01, 2014 10:09 am
Reply with quote
Report this post
Ok thanks... it's rather complicated for me... I think that I will make do with using top1 position for lang switcher; it's just underneath header (wich is quite tall) but I don't have other options... I hope that browsers will help me by automatic switching language when people will not realize that by scrolling down they will find flags :-)
User avatar
Expert Boarder

teitbite
Fri Aug 01, 2014 4:42 pm
Reply with quote
Report this post
Hi

Please put it into "debug" module position and show me the site than. I'll try to position it on te side of window.
User avatar
Moderator

GK User
Fri Aug 01, 2014 4:55 pm
Reply with quote
Report this post
Hello,

thank you for your answer

putting the lang-switch module in the debug position (wich is not amogst the template's ones) I get it on the very bottom of the page on the left (please see the attached image)
User avatar
Expert Boarder

teitbite
Sat Aug 02, 2014 3:59 pm
Reply with quote
Report this post
Hi

"debug" module position is used by developers to test modules, that's why it's not listed. But since it's a module position outside the template it would be best in this case. Please tell me the url to Your site so I'll be ble to figure out the code needed.
User avatar
Moderator

GK User
Mon Aug 04, 2014 2:36 pm
Reply with quote
Report this post
I'll send you a PM because my site is actually offline

Thanks!
User avatar
Expert Boarder

teitbite
Tue Aug 05, 2014 11:24 am
Reply with quote
Report this post
Hi

I have repositioned module into "debug" module position than added this code to override.css:

Code: Select all
div.mod-languages {
    background: none repeat scroll 0 0 #f1f1f1;
    border-radius: 5px 0 0 5px;
    position: fixed;
    right: 0;
    text-align: center;
    top: 50px;
}

div.mod-languages ul.lang-inline li {
    display: block;
    margin: 0;
    padding: 0 10px;
}
User avatar
Moderator

GK User
Fri Aug 08, 2014 9:13 am
Reply with quote
Report this post
Hello,

sorry for the delay in my answer: I've been in holidays for some days...

THANK YOU SO MUCH!!!! You helped me very very much.

You Gavick guys are great!

Thank you!!! :-)

PS How did you modify override.css? I did not gave you FTP access... :-O
User avatar
Expert Boarder

teitbite
Fri Aug 08, 2014 10:00 am
Reply with quote
Report this post
Hi

Hehe. A copy - paste answer in couple of thread. I wish I could do that :D

You can access any template file in templates section of joomla.
User avatar
Moderator


cron