Jump to content

[Resolved] Length of menu bar


Aviationguy

Recommended Posts

The menu bar in Foundation is a fixed length and black.  I managed to find where to change

the category color to blue but the blue stops when the categories stop leaving the rest of the bar black.

How can I change the bar color to blue?  Also, is there a way to change the size of the slider box to a little smaller?

 

Link to comment
Share on other sites

Welcome to the forums, Aviationguy!!

The best way to accomplish this is to use a Developer tool, such as FireFox's Firebug. Then you can right click on that remaining black section and the CSS will show you what needs to be adjusted. These kinds of tools in a browser are invaluable for making cosmetic changes to Foundation. If you do this extensively your changes either need to be applied in cubecart.css, or you might want to consider copying Foundation, renaming it, and adjusting the skin config.xml file accordingly. That way your edits won't be lost on an upgrade. You will, however, have to make any skin edits in your renamed copy that any future upgrade makes to Foundation.

Link to comment
Share on other sites

Welcome to the forums, Aviationguy!!

The best way to accomplish this is to use a Developer tool, such as FireFox's Firebug. Then you can right click on that remaining black section and the CSS will show you what needs to be adjusted. These kinds of tools in a browser are invaluable for making cosmetic changes to Foundation. If you do this extensively your changes either need to be applied in cubecart.css, or you might want to consider copying Foundation, renaming it, and adjusting the skin config.xml file accordingly. That way your edits won't be lost on an upgrade. You will, however, have to make any skin edits in your renamed copy that any future upgrade makes to Foundation.

Thanks I'll look into it, but if I wanted to change it now, where would I do it?

Link to comment
Share on other sites

In the file cubecart.default.css, add the rule:

.top-bar { background: blue; }

To adjust the size of the BXSlider viewport, add into the same file:

.bx-wrapper { max-width: none; width: 80%; }
.bx-wrapper img { max-with: 80%; }

I suggest the file cubecart.default.css because it's easier to keep all your customizations in one file.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...