By iurisampaio on
i created css clock at the file themes->pushbutton->style.css
#image-home {
background: #000000 url(gradient_sky.png) left top repeat-x;
}
then i called it from /themes/pushbutton/page-front.tpl.php on a table such as:
<table id="image-home" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top">
<span><img src="themes/pushbutton/cognovis_home.jpg" align="right" alt="image home" border="0" /></span>
</td>
</tr>
</table>
Somehow, background color works fine but url doesn't.
I already check thousand times. The image is there and the path is correct. but the image does not load up.
any clues?
Comments
You could try to split the css styles
Try this
That should work!
double check the path of image
Where you uploaded the gradient_sky.png ?
Check if you used correct path for background image in style.css.
Is the image in the same
Is the image in the same folder as style.css?
Contact me to contract me for D7 -> D10/11 migrations.
...oops!
My mistake!
once new files (images) are uploaded in the directory by default they inherit denied permissions to all users.
I fixed this problem. CSS works fine now!
I guess after 12 hours in front of the computer my brain started to fail!
A nice nap is always welcome!
Thanks a million