Hi,
Im Having trouble inserting a logo into this theme 'http://silverstripe.org/higherground/', all my attempts have led to a layout change rather than a logo change.
Any advice would be greatly apprectiated
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.
If you are using chrome simply right click on the current logo and select 'inspect elelement'. This will give you the location of the logo image on your server. What you could do then is create your desired logo, go to the location of the file on your server and overwrite the current file with your new one.
Ive got this line of code
<h1 id="logo-text"><a href="index.html" title="">......<span>...............</span></a></h1>
<p id="slogan">............</p>
Instead of having text as a logo I would prefer to have an image. Is there a way the code can be changed to do so?
Replace the code above with something like this:
<img src="theURLofYourImage.jpg" alt="logo"/>
if you want the logo to link to the homepage then it can be something link this:
<a href="$BaseHref"><img src="theURLofYourImage.jpg" alt="logo"/></a>
Thanks the code worked but now I need to align it, is there a way I can align it to an exact position?
Think you really need to go learn HTML/CSS for this kind of thing! This has nothing to do with silverstripe.
To get you started:
Something like:
<img src="theURLofYourImage.jpg" alt="logo" class="logoAlignment"/>
and in your CSS stylesheet:
.logoAlignment{
<Add styles here>
}
CSS Styles Cheat sheet:
http://www.addedbytes.com/download/css-cheat-sheet-v2/png/
Yep, I think I do
Thanks for the help