I have only been working with Bootstrap Studio for a few days and it looks pretty good. However, I am having difficulty figuring out how to edit the HTML. I want to add some text below my navbar-brand image, but can't figure out how to do this. I've been trying to use the HTML window, but I can't seem to be able to edit anything there like I can do within the styles window. How do I do this?
Also, while I am asking, how do I make it so that an element is only displayed at a particular page width?
Are you guys talking about adding something "to" the navbar itself, or adding something above or below it and not on the navbar?
Without knowing exactly what you're trying to do I can't come up with a good way to explain what to do, but what I can tell you is that the default navbar's navbar brand (or any other element) has options for when it will and will not be seen (breakpoint display settings basically) if you look in the top right corner of the app in the Options area. Look for the Responsive Visibility section of that area and you'll see there are a lot of different settings on there to play with for visibility. It allows you to not only change the breakpoint settings for visibility, but all the style of it's display from block, inline and inline-block depending on your needs for that breakpoint.
Hope that helps some to at least get the breakpoints worked out on how things show and do not show in them.
yes Jo - am trying to add a div above navbar brand to be able to show a contacts bar ( tel number and mail addy) but also have it work with the fixed to top option so when a page scrolls it will still show nav bar and contact details.
The Navbar is locked down and doesn't allow you to drag in a div in between the navbar-header and navbar-collapse which is what the site you have linked is doing.
You could convert the navbar to HTML which it then allows you to use it as a Custom Code component where you can do what you want with this. To convert to HTML just right click on the navbar in the Overview pane and select Convert to HTML then double click on some item on the navbar in the Layout View. This will open up the Custom Code tab for that element. I would suggest making any other navbar changes first so you have all the default Options pane options available to you.
Now here is possibly something you can try. It might not be exactly what you want but could be considered as an option.
When you drag the navbar select the navbar in the Overview pane, this will enable the editor toolbar bar. You can click the Link button that makes a little link in the top area of the nav which you can align to the right so it acts like a contact link. With some tricky CSS you can probably manage to get it how you want it.
Here's what I'm trying to do in simpler terms. In the header for the Product Page template, you have the navbar-brand div. Instead of having FASHION STORE in text, I want to have a logo and add text below the logo (sort of like a tag line). For example, if I were doing a page for Lays potato chips, I'd want their logo, with the text "You never can eat just one!" under it. I know to code this in HTML, but I can't make the HTML panel of the editable so that I can do this. I don't want to rely on the drag-and-drop way of creating a page since I know how to code HTML. I just thought this program would be helpful for me to see the changes I make more quickly than the old way of writing the code and having to load the page into a browser to see if I did it correctly.
You can change the word Brand to your tag line wording. Import your logo image and then drag the image from the Design pane to be in front of your tag line. Then download the component I have for Simple Line BReak and drag that to just after your logo image.
Add CSS
.navbar-brand {
height: auto;
}
That at least gets you started with what you are try to do. You will then need to get more creative CSS changes to make it all work out for you.