Keep logo and menu where they are

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
Tue Nov 18, 2014 2:35 pm
Reply with quote
Report this post
Hi,
after scrolling down a bit on the home page, the logo and the top menu all of a sudden show up again.
I understand this is intended, but how do I stop it from happening?
On all the other pages, the logo and the top menu seem to be fixed. Where can I change that, so that they
simply disappear from view when scrolling down further?
Thanks
User avatar
Fresh Boarder

GK User
Tue Nov 18, 2014 5:37 pm
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Wed Nov 19, 2014 12:35 pm
Reply with quote
Report this post
Cyberek wrote:Could you please post an url to your site?


Unfortunately not, it's still in a XAMPP environment.

But you can see the behaviour on your own live demo. When you scroll down and you reach the
"All our plans include" part, the logo, top-menu and the topbar come back into view.
I'd just like to stop that.
Cheers
User avatar
Fresh Boarder

GK User
Thu Nov 20, 2014 10:43 pm
Reply with quote
Report this post
Cyberek, might I expect a reply at some point in time?
User avatar
Fresh Boarder

GK User
Fri Nov 21, 2014 1:56 pm
Reply with quote
Report this post
Please edit: /templates/gk_cloudhost/css/override.css and add at its end:
Code: Select all
#gkMenuWrap {display: none;}


But this will hide also menu on other than home page.
Sadly without access to a live site i don't know if you have any homepage suffixes set, but if so then prefixing:
Code: Select all
.somefrontpagesuffix #gkMenuWrap {display: none;}


To read about page suffixes please check this documentation:
https://www.gavick.com/documentation/un ... mla-pages/

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Fri Nov 21, 2014 6:02 pm
Reply with quote
Report this post
Thanks for that, Cyberek.
The code helps indeed to get rid of the scrolling navigation, but it also hides the menu completely on all
other pages, just as you mentioned.
I'm setting up a test site now, but the guys who will be running it don't want it to go public yet.
So can I send you a PM with the details?
Thanks again.
User avatar
Fresh Boarder

GK User
Sun Nov 23, 2014 11:31 am
Reply with quote
Report this post
Have you tried to add a page suffix to homepage and use it within the css selector?
User avatar
Moderator

GK User
Sun Nov 23, 2014 2:13 pm
Reply with quote
Report this post
Thanks Cyberek,

I guess I somewhat misread your last post regarding page suffixes...
However, I've now added a suffix only to the home page and it works...
I know I probably should open a new thread, but it's a very simple additional question that I have:
When writing a new article, in order to have images that will open in a lightbox effect (after clicking the small
article image, the picture will show in a popup box in its real size), which class do I have to specify?

Thanks a lot!
User avatar
Fresh Boarder

GK User
Sun Nov 23, 2014 6:47 pm
Reply with quote
Report this post
With k2 article you need to switch to Image tab and add an image there.
User avatar
Moderator

GK User
Tue Nov 25, 2014 2:06 pm
Reply with quote
Report this post
For reasons unkown to me the page suffix on the home page does not work anymore - the menu and logo keep scrolling down.
This is not what I need.

Also I would like to know how to change the fixed menu/logo position on the other pages.
I don't want them to stay in the same position when scrolling down, I just want them to disappear them from view.
Changing the position of the gKmenuwrap from fixed to any relative/static etc makes the menu go away completely, which is not what I want.
Again, can I send you the credentials to see the live site via PM?
Cheers
User avatar
Fresh Boarder

GK User
Tue Nov 25, 2014 5:04 pm
Reply with quote
Report this post
What did you do in meanwhile?
Also - if your question doesn't correspond to original thread topic, please create another thread. This way we allow more user's to find answers they seek.
User avatar
Moderator

GK User
Tue Nov 25, 2014 5:52 pm
Reply with quote
Report this post
As I said, for reasons unknown... I haven't changed anything regarding the menu/logo block.
That second part of my question was part of my initial question and it has a direct relationship to the main problem.
If you vould just have a look, we could probably be done with this in no time.
User avatar
Fresh Boarder

GK User
Tue Nov 25, 2014 6:49 pm
Reply with quote
Report this post
Please resend me login data, your site utl and link to this thread
User avatar
Moderator

GK User
Wed Nov 26, 2014 2:03 pm
Reply with quote
Report this post
Hi Cyberek,
I sent you a PM yesterday, but it's still in the Outbox folder, not the Sent folder.
Just wanted to make sure you got it...
User avatar
Fresh Boarder

GK User
Wed Nov 26, 2014 5:49 pm
Reply with quote
Report this post
It looks like you have some weired cache on your server / joomla installation, but beside that you have created another suffix for page with id: 640. This doesn't work this way - you need to delete current ones and create only one suffix per page ('imageBg grey-content hpmenu'). Actually I did that for you but some cache stuff is blocking the change to be seen. Also you could simply use one of current page suffixes added to homepage: 'imageBg' or 'grey-content'.
User avatar
Moderator

GK User
Wed Nov 26, 2014 7:39 pm
Reply with quote
Report this post
Cyberek,
I just had a look and both page suffixes were still there. I deleted the imageBg grey-content one and now it does seem to work, thanks.
I couldn't see any cache problems here.
About the other issue with the fixed header/logo on the other pages.: Do you really want me to open another thread for that?
Because, if one of your colleagues would get the new issue, we'd have to go through the process of a PM with the details again and I would have to explain a problem for a second time - a problem that you already know.
Cheers
User avatar
Fresh Boarder

GK User
Thu Nov 27, 2014 6:17 pm
Reply with quote
Report this post
Ok, so basically you want to disable sticky menu on other than homepage pages?
User avatar
Moderator

GK User
Thu Nov 27, 2014 7:36 pm
Reply with quote
Report this post
Yes, I would like it not to be sticky. When I scroll down the page, I just want it to disappear from view... normal behaviour. Thanks
User avatar
Fresh Boarder

GK User
Mon Dec 01, 2014 4:28 pm
Reply with quote
Report this post
Try adding this to override.css:
Code: Select all
#gkMenuWrap {
position: absolute;
}

If it will cause any troubles - I will need to see the live site to help further.
User avatar
Moderator

GK User
Tue Dec 02, 2014 10:18 pm
Reply with quote
Report this post
Seems like it's all good now. Thanks!
User avatar
Fresh Boarder

GK User
Wed Dec 03, 2014 7:37 am
Reply with quote
Report this post
Is there anything else I can help you with regarding this topic?
User avatar
Moderator

GK User
Thu Dec 04, 2014 11:37 am
Reply with quote
Report this post
No thanks. In case something comes up I'll open a new thread.
User avatar
Fresh Boarder

GK User
Fri Dec 05, 2014 2:02 pm
Reply with quote
Report this post
Ok.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.