Sign in to follow this  
Followers 0
Zhi Qiu

how to frozen top head always on top

11 posts in this topic

Hi,

Can I ask how to lock top head (including contact info, social icon and language swicher) alway on top when you rolling down that page.

and,

when i add google plus into social icons, there's no red colour when click.

<a href="#" class="social-tt"><i class="fa fa-googleplus"></i></a>

I think its class="social-tt worng. what should this be?

I'm a beginer of web designing. so, do need your help.

Thank you so much.

kind regards,

Ivan

Share this post


Link to post
Share on other sites

Hello Ivan,

To lock top head, just add style css to file: ../templates/bt_medical/css/custom.css

.top_head{ position: fixed; z-index: 99999; width: 100%;}

.t3-header{margin-top: 38px;}

About the icon google plus: Could you send me your link? I'll check it for you.

Best regards,

Share this post


Link to post
Share on other sites

Thank you Tam, the head works very well.

My website is on localhost right now. so, I don't know how to show you the link. sorry about that.

I'll finish other thing first.

Many thank.

Regards,

Ivan

Share this post


Link to post
Share on other sites

Hi Tam,

I just found out that when top head been locked on top, its totely blocked off-canvas icon when its on small screens.

So, how can I dealing with this?

As I think, there're two ways possible.

1. change top head size to 6 or even smaller to give off-canvas icon space to show out.

2. move off-canvas icon from original position to top head right position.

Do you think its possible?

Many thanks.

Kind regards,

Ivan

Share this post


Link to post
Share on other sites

Hi Tam,

Sorry, looks like I'm a trouble maker. :P

I found a better way. setting up the "z-index". I want to set off-canvas z-index=9999. where can I fit this cold in?

Many thanks.

Kind regards,

Ivan

Share this post


Link to post
Share on other sites

sorry,

I don't konw how to group up the words.

I wrote

.off-canvas { z-index: 9000;}

Nothing happend.

So, what should I put into?

Thanks.

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0