Advertisement:

Author Topic: Header image and favicon missing after theme update  (Read 1740 times)

stanjohn123

  • Jr. Member
  • **
  • Posts: 76
Header image and favicon missing after theme update
« on: November 16, 2013, 12:29:09 pm »
2 issues have cropped up after updating my theme.

1) My header image has gone , although the image is there in the images folder. My code is as below in header file under my theme folder

Code: [Select]
<!-- header -->
<div id="header">
     
    <a id="logo" href="http://classifieds.wheelnmotor.com/"><a id="logo" href="http://classifieds.wheelnmotor.com/"><img border="0" alt="WNM Auto Classifieds" src="http://classifieds.wheelnmotor.com/oc-content/themes/realestate/images/logo.jpg" /></a></a>

My code under style.css is as below

Code: [Select]
#header {
    width: 1100px;
    height: 150px;
    position: relative;
    margin: 0 auto;
    background:  none repeat scroll 0% 0% rgb(56, 56, 56);
    border-radius: 10px;
    background-image: url('./images/Image4.png');
}

2) My favicon containing logo is gone. The problem is I keep trying to upload the favicon with my logo on the main folder but the favicon after uploading turns into osclass favicon. It does not change to my favicon while uploading itself. So obviously it does not come up even on hard refresh.

 I tried deleting the favicon and also uploading my favicon , still it uploads as osclass favicon only. Dont know why. My favicon is also 16 X 16 in size.



frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Header image and favicon missing after theme update
« Reply #1 on: November 16, 2013, 02:35:56 pm »
@stanjohn123

Since your problems are only css based, I strongly suggest you to study css on http://www.w3schools.com/ (or similar).
You would see that background-image: url('./images/Image4.png'); is incorrect, but background-image: url('../images/Image4.png'); is correct and many others

stanjohn123

  • Jr. Member
  • **
  • Posts: 76
Re: Header image and favicon missing after theme update
« Reply #2 on: November 16, 2013, 11:34:23 pm »
@stanjohn123

Since your problems are only css based, I strongly suggest you to study css on http://www.w3schools.com/ (or similar).
You would see that background-image: url('./images/Image4.png'); is incorrect, but background-image: url('../images/Image4.png'); is correct and many others

Hi Frosticek,

   No, that didn't work. Background image still not appearing.