== how can I do this using the default theme.==
1. Create a child theme of bp-default theme. – https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/
2. Copy over header.php from bp-default theme – https://buddypress.trac.wordpress.org/browser/tags/1.2.9/bp-themes/bp-default/header.php
3. Open up header.php and replace the following:
<h1 id="logo"><a href="" title=""></a></h1>
with
<h1 id="logo"><a href="" title=""><img src="/images/logo.png" /></a></h1>
4. Upload a logo.png or .jpg, etc. to your theme’s images folder
@mercime, I dont know why this is not working for me, i tried the above code but just show a small broken icon.
here is my code
<h1 id="logo"><a href="" title=""><img src="_inc/images/2.jpg" /></a></h1>
any help will be appreciated
regards
== <img src="_inc/images/2.jpg" /> ==
@naijaping Missing forward slash before _inc/ So it should be
<img src="/_inc/images/2.jpg" />
@mercime , put slash did not work aswell but declaring the whole path like this works well
<h1 id="logo"><a href="" title=""><img src="http://www.mysite.com/themes/mychildtheme/_inc/images/2.jpg" /></a></h1>
Any idea on how to style the width and height of the logo and to declare the logo background as transparent.
sorry to disturb
@naijaping you’re probably best creating the logo in the size you want it to display and creating a .png with a transparent background – you should try not to use css to change the size of it