Sticky - Top Bar instead of Header

7 replies · opened Dec 15, 2022

KKennethLeoHodgesDec 15, 2022

Is there a way to make the #top-bar Sticky INSTEAD of the Header? (not both).

If not, do you see a problem with swapping out the content (mobile ONLY) to put the logo in the Top Bar, so when someone scrolls down the page, they still see our Cool Menu Links and CALL/TEXT links, but the logo goes away and does not take up too much screen room?

We have a very cool top bar and want it to remain for MOBILE ONLY if possible.

What would you suggest is the best way to accomplish this?

http://paintleads.com/

KKennethLeoHodgesDec 20, 2022

Good morning,

Is this not a valid question?

SSemicolon WebSTAFFDec 24, 2022

Hello,

Apologies for the delays on this Support Query.

We are looking into this and escalated this to our senior devs as this Query requires Customization. Once we get a confirmation from them, that the requirements you have listed can be achieved out of the box, we will provide you with the solutions. Else, you will need to wait for an update when we include these features and release the update. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

KKennethLeoHodgesDec 26, 2022

Thank you for your reply! I hope your senior Devs can make this work, we have big plans for this functionality for all of our new websites if they can :) :) :)

SSemicolon WebSTAFFJan 9, 2023

Hello,

Thanks for your Kind Continued Patience!

We have tried checking out your Website to see if we can implement this feature without too many changes to the core codes but unfortunately, your website currently doesn't exists which is why we couldn't check the exact codes.

You can consider using the following code to see if this works:

  1. CSS:
#top-bar {
	position: relative;
	width: 100%;
	height: 45px;
	border-bottom: 0;
	z-index: 399;
}

#top-bar-wrap {
	position: fixed;
	left: 0;
	width: 100%;
	height: 45px;
	background-color: #fff;
	border-bottom: 1px solid #EEE;
}

@media (min-width: 992px) {
	.sticky-header #header-wrap {
		top: 45px !important;
	}
}
  1. HTML:

First, use the following code for Top Bar:

<div id="top-bar">
	<div id="top-bar-wrap">
		<div class="container">

			...

		</div>
	</div>
</div>

and this for Header:

<header id="header" class="full-header" data-sticky-offset="0">

This should work fine. You can extend according to your needs but for any further customizations, you will need to do this manually or consider hiring us for further customizations.

Let us know if we can help you with anything else or if you find any further issues.

KKennethLeoHodgesJan 9, 2023

Thank you so much for this!! I will try this code tonight and see what happens and report back!!

My apologies for the URL not working, that was a test domain and the website is now in production at the new, permanent address: https://SeattleJunk.pro

Again, thank you for this and you will hear from me soon :)

KKennethLeoHodgesJan 17, 2023

Ok, got everything put in and adjusted, and IT WORKS GREAT!!!

Desktop size screens works perfect !!!

There is only ONE thing needed to make it work properly on MOBILE, we need it to scroll to TOP of page to "see" the menu that was just "expanded". If the screen is halfway down the page, and the MENU button on the Sticky top bar is pressed, the menu does expand, but we cannot see it since the page needs to GoToTop. Is there a way to fire the goToTop: function() when the Menu Button in the #TopBar is pressed?

https://SeattleJunk.pro

I will GLADLY PAY YOU to make this work! Just let me know how much and I will get you paid right away.

THANK YOU for everything!

-Ken

SSemicolon WebSTAFFJan 18, 2023

Hello,

Thank You so much for your Interest and considering us for Customization Work. We can definitely do this customization for you and will send you an Email.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard