Fixed Banner "Topbar"

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
Sat Feb 14, 2015 10:47 am
Reply with quote
Report this post
Hello Gavick Team!

Kindly ask you to help me with "Banner Topbar" module - I want to make it fixed while scrolling.
I tried to use some HTML commands into html-editor of the module, but it didn't work.

Please help me to make the black line with social buttons being on top of the page fixed always.

Thanks a lot!
Pavel
User avatar
Junior Boarder

GK User
Sat Feb 14, 2015 11:38 am
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Sat Feb 14, 2015 12:24 pm
Reply with quote
Report this post
User avatar
Junior Boarder

GK User
Sat Feb 14, 2015 5:16 pm
Reply with quote
Report this post
Please edit: /templates/gk_instyle/css/override.css and add at its end:
Code: Select all
#gkTopBar {position: fixed; width: 100%; top: 0px;}
#gkHeader {margin-top:46px;}

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

GK User
Sat Feb 14, 2015 5:27 pm
Reply with quote
Report this post
It works! But Main menu, Search module and Image SlideShow are above topbar while scrolling.
How is it possible to make topbar always above all other modules?
User avatar
Junior Boarder

GK User
Mon Feb 16, 2015 10:58 am
Reply with quote
Report this post
Please change the code to:
Code: Select all
#gkTopBar {
position: fixed;
width: 100%;
top: 0px;
z-index: 100;
}
User avatar
Moderator

GK User
Wed Feb 18, 2015 7:09 am
Reply with quote
Report this post
Thank you, it works perfect!
User avatar
Junior Boarder

GK User
Wed Feb 18, 2015 8:48 am
Reply with quote
Report this post
Have some problem. The space between topbar and Logo is missing with your css code. (screenshots)
1. Original, without css changes
before.jpg


2. With your css changes
after.jpg
User avatar
Junior Boarder

GK User
Thu Feb 19, 2015 11:27 am
Reply with quote
Report this post
Hi again! Tried to put my logo, looks like a page doesn't count width of topbar when it's modified with css. (screenshot)

Topbar_Fixed.jpg


How can we fix it?

Regards, Pavel.
User avatar
Junior Boarder

GK User
Fri Feb 20, 2015 4:01 pm
Reply with quote
Report this post
Please edit: /templates/gk_instyle/css/override.css and add at its end:
Code: Select all
#gkHeader {margin-top: 46px;}

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

GK User
Sat Feb 21, 2015 7:25 am
Reply with quote
Report this post
Thank you again Cyberek, the css works well!
User avatar
Junior Boarder

GK User
Sun Feb 22, 2015 5:49 pm
Reply with quote
Report this post
Is there anything else I can help you with regarding this topic?
User avatar
Moderator

GK User
Sun Feb 22, 2015 6:25 pm
Reply with quote
Report this post
No thanks! The case is solved indeed.
User avatar
Junior Boarder

GK User
Sun Feb 22, 2015 6:34 pm
Reply with quote
Report this post
If you will have any other questions (not relative to this thread), feel free to post new forum threads - it allows us to answer you faster.
User avatar
Moderator


cron