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?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
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.
... or you can create a specialpage with some setup fields