Trying to do that within the top bar would be tough. The way the TB was coded for RW it has the logo/title/slogan all within an anchor tag on the left. Everything to the right is within the toggle area for the dropdown, meaning it will collapse at the breakpoint. The Dropzone was also coded in the toggle area.
Now you could place a phone number outside of the top bar and set it to display only within a starting and ending screen width.
Yes, I understand how I could do that below the Top Bar… I tried every which way to get it on top of it with and without Pin, with multiple Top Bars, etc.
So I couldn’t place a pinned stack on top of the Top bar in the middle? I tried that yesterday and it worked except for landscape view and the # showing up in the drop down menu.
If not, then I will just leave it out, maybe add it somewhere else.
thank again for your help. You should be teaching a master class
The above would add a phone number between logo and hamburger. However it wouldn’t be a link. You would have to play with position, set your color and fonts, etc.
We can selectively show and hide at any breakpoints that you want with just a couple of lines of CSS. It won’t mess with the divider code or anything in the menu itself.
If you ever need to change the phone number it is just in the site-wide javascript.
Other than that there are a few lines of CSS at the bottom of your site wide CSS. It needed more to just apply the font and the color than to position the number. If ever you start using Font Pro we could get rid of all that for just one class name, but it is not a problem as it is now.
I also tried copying it to my file and it seemed to mess up the menu… it showed up vertically on the right. IDK. I know I ask for things that I should be able to do lol.
We need the breakpoints as there are actually 2 telephone numbers there. The mobile one is in a slightly different position in the topbar HTML to make it all work. We just show that for the mobile menu and the other one for the desktop menu.