2 replies
Ok so i have a website but it is all in css now i was able to make the other parts of the website because you dont need to know css to make those parts but now i want to add a header logo to my site and i need to put it in the css script if anyone could help me out that would be great.

the image is below and i was wondering if someone could covert that image into a css script and then show me where to put it in.

I would really appreciate the help.

Thank you,

- Eric

Here is the css script

/* Page Title */
#xg_body h1,
#xg_body ul.navigation a,
#xg_navigation ul li.this a,
#xg_navigation ul li a:hover,
.navigation-solo,
.navigation-solo a {
color: #2d2112 !important;
}
/* Page */
#xg_body,
#xg_navigation ul li.this a,
#xg_navigation ul li a:hover {
background-color: #F8F3ED;
}
/* Module Body: Background & Text */
.xg_module_body, .xg_module_foot {
background-color: #FFF;
}
.xg_module_head {
border-top:1px solid #90846d;
}
#css #question
  • Profile picture of the author Eric Land
    does anybody know anything about css
    Signature

    I am looking for ad swaps pm me if you are too!

    {{ DiscussionBoard.errors[73269].message }}
    • Profile picture of the author fm1234
      If you're asking how to make that image the background of your site's header using CSS, it's extremely simple.

      1) Upload the image to your site and make note of its URL.

      2) In your style sheet add the following to your header section (looking at what you posted I'm assuming it's xg_module_head): background-image:url('image') where image is the URL of the header.

      So in other words if your header image is yoursite.com/images/header.jpg and the value xg_module_head is your header, change that to look like this:

      .xg_module_head {
      background-image:url('yoursite.com/images/header.jpg');
      border-top:1px solid #90846d;
      }

      Don't forget the semicolon at the end of the line.


      Frank
      {{ DiscussionBoard.errors[75076].message }}

Trending Topics