Changing logo from CMS to my own... problem with CSS

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
awsom50

Changing logo from CMS to my own... problem with CSS

Post by awsom50 »

Hi there...

I've uploaded CMS Made Simple, and most of it seems to be working okay.  However, whenever I try and change the CMS Made Simple logo to that of my own, it just won't work.  No logo comes up at all.  I've uploaded the new logos to my Image File within my admin area, but it still won't work.  The code as it looks with the CMS Made Simple logo is as follows...

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 */
}


So, I try and replace the url(images/cms/logo1.gif) to reflect my own image.  I just replace the logo1.gif to that of my own.

What am I doing wrong?  Thanks

James
cyberman

Re: Changing logo from CMS to my own... problem with CSS

Post by cyberman »

Hi James,

Can you post a link so we can make a look?

Sometimes it's very difficult to guess what the reason could be ...
awsom50

Re: Changing logo from CMS to my own... problem with CSS

Post by awsom50 »

Sure... http://www.rockinupastorm.com/cms/cmsmadesimple/

I've saved it now with my test logo, called logo2.gif, but it doesn't show up.

Any help would be much appreciated.

James
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Changing logo from CMS to my own... problem with CSS

Post by RonnyK »

James,

it shows up, only late, as it is around 1.4 MB. The placement is wrong (opens in the first news-entry), maybe because of the width, height. If you resize it to a proper size, you only have to adjust the "header" and "header h2 a" in your css to reflect the image-height.

edit:
I was talking about the kp1_logo.bmp, as this one is shown, where did you upload the logo2.gif, as the css points to

Code: Select all

images/cms/logo2.gif

Ronny
Last edited by RonnyK on Mon Feb 12, 2007 12:13 pm, edited 1 time in total.
awsom50

Re: Changing logo from CMS to my own... problem with CSS

Post by awsom50 »

Hi Ronny...

Yeah, the KP1.bmp was just a quick thing I added to the news module...

I uploaded the logo2.gif via the Image Manager, to the same folder which houses the CMS logo (known as logo1.gif).

So yes, it should be in the folder you mentioned
images/cms/logo2.gif

James
Last edited by awsom50 on Mon Feb 12, 2007 12:19 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Changing logo from CMS to my own... problem with CSS

Post by RonnyK »

Can you check the rights on the uploaded image, it might be 022, instead of 002. Just give it complete rights (777) so that it can be opened.

Is the file-name all lower-case?

Ronny
Last edited by RonnyK on Mon Feb 12, 2007 12:22 pm, edited 1 time in total.
awsom50

Re: Changing logo from CMS to my own... problem with CSS

Post by awsom50 »

Well, I've checked the images folder on my server, where the CMS Made Simple has been uploaded to, and it doesn't have the logo.2 gif saved.  However, in the Image Manager within the CMS Made Simple editor, it says it is there.  Is this a fault within the Image Manager?

I will try and upload the image directly to my server's folder. 

Any suggestions?

James
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Changing logo from CMS to my own... problem with CSS

Post by RonnyK »

James,

I think that the image is placed under "uploads" as it stores all uploads over there. Initially the logo1.gif might be stored twice, once under images/cms/ and once under uploads/...... If you check the path while using FTP you might find out what the correct directory is. I thought that image-manager only works, starting from "uploads" down.

Ronny
awsom50

Re: Changing logo from CMS to my own... problem with CSS

Post by awsom50 »

Okay Ronny... I'll have a look at that.  I've uploaded the image directly via my server to the images folder, and it now works.  I hope I haven't got to do this every time for an image though! 

Thanks so much for your time, it is appreciated.  I'll lt you know if I need more help :)

James
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Changing logo from CMS to my own... problem with CSS

Post by RonnyK »

James,

no you don't have to go all that every time. All images you'll upload will end up under "uploads", so all you have to do is relatively point to that directory as a start.

Ronny
awsom50

Re: Changing logo from CMS to my own... problem with CSS

Post by awsom50 »

RonnyK wrote: James,

no you don't have to go all that every time. All images you'll upload will end up under "uploads", so all you have to do is relatively point to that directory as a start.

Ronny
Yep, of course.  Silly me!  Many thanks again. :)

James
Locked

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