MyBB Community Forums

Full Version: Jquery In Logo?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How would I add my custom jquery code to the logo image?
What do you mean?
What are you trying to 'add' ?

You should read the API.
With $('#div') or $('.class') you can do a selection.
I believe in the header template.

ACP > Templates & Style > Templates > YOUR THEME> Header > Header

Add it after

<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" />

And before the

</a></div>
(2013-07-13, 01:35 AM)Senethic Wrote: [ -> ]What do you mean?
What are you trying to 'add' ?

You should read the API.
With $('#div') or $('.class') you can do a selection.
I know how to do that... I mean jquery is not working when I add something.
^ give your forum url, the code you are trying and its purpose (what you want to get)