Jump to content


Photo
- - - - -

Content background image & Repeating image on Nav


  • Please log in to reply
5 replies to this topic

#1 brittanyak

brittanyak

    Newbie

  • Members

  • 7 posts
  • Framework Version:3.5
  • Country: Country Flag

Posted 23 January 2013 - 04:51 PM

Hello - 

 

I'm currently building a site here: 

 

www.depotdays.info/progress

 

I'm trying to place this image: 

 

Please Login or Register to see this Hidden Content

 

as the content background.  I have looked up in W3 schools as well as used firebug to try to troubleshoot this on my own I'm just unable to see what I'm doing wrong to make the code not work. 

 

 

also - I'd like to add this image:

 

Please Login or Register to see this Hidden Content

 

and make it repeat horizontally across the nav bar and again haven't been able to do this on my own. Any and all help on this will be greatly appreciated, thanks



#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 23 January 2013 - 05:24 PM

Hello, we recently updated our CSS documentation. I highly recommend reviewing it since it may address some issues related to making your CSS overwrite the default CSS:

Please Login or Register to see this Hidden Content



#3 brittanyak

brittanyak

    Newbie

  • Members

  • 7 posts
  • Framework Version:3.5
  • Country: Country Flag

Posted 23 January 2013 - 05:44 PM

Unfortunately I've already gone through all of that, have extensive knowledge of css and using firebug and i'm still having this issue :(



#4 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 23 January 2013 - 06:44 PM

What is the CSS code you tried?



#5 brittanyak

brittanyak

    Newbie

  • Members

  • 7 posts
  • Framework Version:3.5
  • Country: Country Flag

Posted 24 January 2013 - 04:18 PM

I finally was able to get the navbar to work but the content background is still giving me a hard time. here is the code i used:

 

 

#content {
  .content {
    background-image:url ('

Please Login or Register to see this Hidden Content

' );
  } }


#6 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 24 January 2013 - 06:24 PM

A CSS declaration block cannot be placed inside another one. Instead, it should look something like this:

Please Login or Register to see this Hidden Content