1259 Posts in 348 Topics by 484 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1272 Views |
-
adding a logo to a theme

13 April 2010 at 6:45pm
hi all im using the http://www.silverstripe.org/coffeeNcream/ theme, and was wondering is there any way to get a small logo in the header on the right side of the header text?
-
Re: adding a logo to a theme

22 April 2010 at 6:52pm
Hello,
Yes you can. In the themes/coffeeNcream/templates/Page.ss template file:
<div class="header">
<div class="title">
<h1>$Title <img src="{$BaseHref}themes/coffeeNcream/images/siteLogo.gif" alt="" class="headerLogo" /></h1>
</div>
</div>
See where I have put the img tag. You can put it anywhere here in the header, then just edit your css to put it where you want.
You need to make sure you put siteLogo.gif in themes/coffeeNcream/images/ for this specific code to work. -
Re: adding a logo to a theme

2 May 2010 at 8:15pm
... or you can create a specialpage with some setup fields
| 1272 Views | ||
|
Page:
1
|
Go to Top |


