Editing logo....

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
NickEagle

Editing logo....

Post 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?
User avatar
snafu
Forum Members
Forum Members
Posts: 29
Joined: Mon Oct 29, 2007 5:56 pm

Re: Editing logo....

Post 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!
"Catch a man a fish and he'll have fish for a day, teach a man to fish and he'll have fish for a lifetime"-Chinese Proverb
Pierre M.

Re: Editing logo....

Post 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.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Editing logo....

Post 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
Locked

Return to “Layout and Design (CSS & HTML)”