problem with fixed menu bar

October 2012 Joomla Template
Rate this topic: Evaluations: 2, 3.50 on the average.Evaluations: 2, 3.50 on the average.Evaluations: 2, 3.50 on the average.Evaluations: 2, 3.50 on the average.Evaluations: 2, 3.50 on the average.Evaluations: 2, 3.50 on the average.3.50 out of 6 based on 2 vote(s)
GK User
Wed Sep 17, 2014 3:08 pm
Reply with quote
Report this post
hi,
I've got problems with the menubar.
I wanted to fix it so that if i scroll down the page the menubar is still shown. so i added the code to override css
i added as it is shown in another forum https://www.gavick.com/forums/startup-joomla25/always-display-top-menu-when-scrolling-30329.html
Code: Select all
#gkPageTop {position: fixed; background: #fff;}
    #gkHeader {padding-top: 72px;}
    #gkHeader.nobg {background-position: center 72px;}

drdrew may had the same problem. some pagetitles and some content and modules are loading behind the menubar and not below.
What can I do to change that?
Thanks!
Would be perfect if you could help me. Best regards
Max
User avatar
Fresh Boarder

teitbite
Sat Sep 20, 2014 11:46 am
Reply with quote
Report this post
Hi

Do You have this modifications on Your site at the moment ? Can I please see it ?
User avatar
Moderator

GK User
Sat Sep 20, 2014 11:58 am
Reply with quote
Report this post
yes i did add these modifications to override.css. I sent you more details.
Thanks! :)
User avatar
Fresh Boarder

teitbite
Sat Sep 20, 2014 1:58 pm
Reply with quote
Report this post
Hi

Please try adding it to override.css:

Code: Select all
#gkPageTop + #gkPageContent #gkSidebar,
#gkPageTop + #gkPageContent #gkContent {
    margin-top: 100px !important;
}
User avatar
Moderator

GK User
Sat Sep 20, 2014 2:15 pm
Reply with quote
Report this post
Thank you so much!
It seems to work! :-)
a very big big thanks! :-)
User avatar
Fresh Boarder

GK User
Sat Sep 20, 2014 2:56 pm
Reply with quote
Report this post
sorry one more question…
if there are any errormessages (for example after registration the message for example if the website says okay you're registered now.) these messages are shown above the menu.
Is it possible to get these messages also below the menu?
User avatar
Fresh Boarder

teitbite
Sun Sep 21, 2014 9:32 am
Reply with quote
Report this post
Hi

Please edit /layout/default.php find code:

Code: Select all
    <?php if(count($app->getMessageQueue())) : ?>
    <jdoc:include type="message" />
    <?php endif; ?>


and move it anywhere You like.
User avatar
Moderator

GK User
Sun Sep 21, 2014 10:20 am
Reply with quote
Report this post
Thank you os much! :-)
User avatar
Fresh Boarder


cron