Page 1 of 1

Editing logo....

Posted: Fri Apr 18, 2008 9:22 pm
by NickEagle
I am looking in the StyleSheet, and see where to edit my logo... but I did and it's not showing up.

This what was there:

Code: Select all

div#header h1 a {
/* you can set your own image here */
   background: #385C72 url(images/cms/logo1.gif) no-repeat 0 12px; 
   display: block;
   height: 80px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
And there was never a logo on the site....
this is what I put, and there still isn't a logo.

Code: Select all

div#header h1 a {
/* you can set your own image here */
   background: #385C72 url(uploads/images/linnielogo.png) no-repeat 0 12px; 
   display: block;
   height: 80px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
Why isn't it working?

Re: Editing logo....

Posted: Fri Apr 18, 2008 10:16 pm
by snafu
Hi Nick,

Since you said there never was a logo and, after changes, there's still no logo, are you sure you are editing the correct stylesheet relative to the template ?

And/or, are you sure the files are in the correct path(s), since you provided 2 paths ?

images/cms/logo1.gif

uploads/images/linnielogo.png

Good luck!

Re: Editing logo....

Posted: Sat Apr 19, 2008 7:06 pm
by Pierre M.
Hello, €0.02 to investigate :
-the sample content of a new install has a working logo (and favicon).
-url(path) in CSS is relative to the CSS URL.

Pierre M.

Re: Editing logo....

Posted: Sat Apr 19, 2008 7:17 pm
by RonnyK
And another cent from me,

I would click the uploaded image from the filemanager and then copy the URL of the image shown, pasting it on the position you changed the calling... This way, any capital characters or typos are eliminated..... And indeed only call starting from the csmms-root down...

Ronny