22437 Posts in 7058 Topics by 2750 members
|Go to End|
23 August 2011 at 1:03pm
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
24 August 2011 at 7:36am
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.
24 August 2011 at 11:07am
Ive got this line of code
<h1 id="logo-text"><a href="index.html" title="">......<span>...............</span></a></h1>
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?
24 August 2011 at 9:30pm Last edited: 24 August 2011 9:46pm
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>
25 August 2011 at 4:45am
Thanks the code worked but now I need to align it, is there a way I can align it to an exact position?
25 August 2011 at 5:33am
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:
<img src="theURLofYourImage.jpg" alt="logo" class="logoAlignment"/>
and in your CSS stylesheet:
<Add styles here>
CSS Styles Cheat sheet:
25 August 2011 at 6:06am
Yep, I think I do
Thanks for the help
|Go to Top|