Nav Code?

  • 1
  • Question
  • Updated 7 years ago
  • Answered
Hi
I'm using this code

<!--Start Code
<style type="text/css">
div.ys_nav{
background:#FFFFFF;
margin:0 10px;
}
</style>
-->

to change the colour of my navigation bar, if possible I would like to modify the code so I can use an image instead of solid colour.
Thanks

http://www.leathersolutions.org/
Photo of David

David

  • 465 Posts
  • 94 Reply Likes

Posted 7 years ago

  • 1
Photo of Nazlie

Nazlie

  • 1721 Posts
  • 51 Reply Likes
Hi David

To add an image instead of a color to your background, please make sure that you have the background image loaded in your File Manager.

Then change the CSS for background to background-image:url('resources/mypic.jpg');

If you would like to tile your image (repeat it across your banner), then use this code:

background: url('resources/mypic.jpg'); background-repeat: repeat-x;

I hope this works for you. Let us know if you need more help!

Happy Sitebuilding
Nazlie
Photo of David

David

  • 465 Posts
  • 94 Reply Likes
That's perfect thanks Nazlie