css Image link
Permalink
Good day
I have made a change in the .css to point to images in the theme img folder?
My code
<img src="img\C_N_Electronic.gif" width="344" height="78" />
But not working? what is the corect url?
Please help newbie?
Thank you
I have made a change in the .css to point to images in the theme img folder?
My code
<img src="img\C_N_Electronic.gif" width="344" height="78" />
But not working? what is the corect url?
Please help newbie?
Thank you
Hi
It is not for backround I want to and image instead of the site titel? the imges is in the themes folder under img?
I did try the following but not working?
<!-- header START -->
<div id="header">
<div id="caption">
<img src="../img/C_N_Electronic.gif" width="344" height="78" />
<div id="tagline"><?php
$ah = new Area('Site_Description');
$ah->display($c);
?></div>
Thanks
It is not for backround I want to and image instead of the site titel? the imges is in the themes folder under img?
I did try the following but not working?
<!-- header START -->
<div id="header">
<div id="caption">
<img src="../img/C_N_Electronic.gif" width="344" height="78" />
<div id="tagline"><?php
$ah = new Area('Site_Description');
$ah->display($c);
?></div>
Thanks
Ok. I hope I understood you correctly.
I think you need this line of code:
<img src="<? echo $this->getThemePath(); ?>/images/image.png" /alt="alt text"/>
I think you need this line of code:
<img src="<? echo $this->getThemePath(); ?>/images/image.png" /alt="alt text"/>
Thanks
Will have a look at it.
Thanks
Will have a look at it.
Thanks
This is the official help doc to create a custom theme.
http://www.concrete5.org/help/building_with_concrete5/developers/th...
And specially this one
http://www.concrete5.org/index.php?cID=2878...
http://www.concrete5.org/help/building_with_concrete5/developers/th...
And specially this one
http://www.concrete5.org/index.php?cID=2878...
Good day
I did the following still not working ??
<img src="<? echo $this->getThemePath(); ?>/img/C_N_Electronic.gif" width="344" height="78"/alt="alt text"/>
What am I doing wrong - i edite the code in the header.php ?
Thanks
I did the following still not working ??
<img src="<? echo $this->getThemePath(); ?>/img/C_N_Electronic.gif" width="344" height="78"/alt="alt text"/>
What am I doing wrong - i edite the code in the header.php ?
Thanks
I have a question about div background images defined within the CSS doc. The getThemepath doesn't really apply to an external CSS doc.
Anyone have a solution to this?
Anyone have a solution to this?
Just to be sure. You made a change to the original theme? Or did you make a new one?
For example for a page background you need this in your css file:
#page { background: url(../images/file.png); }
But this is for a new theme in the themes folder.