Welcome to the Question2Answer Q&A. There's also a
demo
if you just want to try it out.
Login
Login
Register
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
About
Wiki
Welcome to the Q&A for
Question2Answer
.
If you have questions about the platform,
click here to ask
and please use English.
If you just want to try Q2A, please use the
demo
, which also grants admin access.
Apr 29:
Q2A 1.5.2
Related questions
How can I show both a logo and the title in my header?
How Do I put a logo in my theme?
How to add logo in (answered) emails?
Can we place a banner beside the logo in header
How to add a little picture for each category in the list of categories
As with plugins to add its own field or in the form of a layer?
maybe a bug?V1.51 avatar image miss height and width,can't display in IE(7.0,8.0,9.0),but 1.5 can
Need to display full question text and image in question list ! Help please !
How to let questioners upload an image?
How to connect the image upload script?
All categories
Q2A Core
(3,261)
Plugins
(358)
how to add a logo hover in my image logo?
0
votes
i want to add a image logo hover to my image logo, but in admin panel i just found a place to add my logo image only.... anybody know how to add a hover?? thanks...
logo
hover
image
asked
Sep 2, 2011
in
Q2A Core
by
nono
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2 Answers
0
votes
Well I am not sure but the only way I know is do not use admin system...use as a background-image .qa-logo set picture1 , .qa-logo:hover set picture2
answered
Sep 2, 2011
by
thomaskarado
Please
log in
or
register
to add a comment.
0
votes
If you mean change the hovertext, you probably need a custom theme, with the following function:
function logo()
{
$yourtext = 'test';
$this->content['logo'] = preg_replace('/TITLE="[^"]+"/i','title="'.$yourtext.'"',$this->content['logo']);
qa_html_theme_base::logo();
}
If you want to change the image on hover, just use css and hide the logo image on hover:
function head_custom()
{
$this->output('
<style>
.qa-logo-link:hover img {
visibility:hidden;
}
.qa-logo-link:hover {
background-image:url(
http://www.question2answer.org/qa/image/4364140800340146597?s=40);
}
</style>');
qa_html_theme_base::head_custom();
}
answered
Sep 2, 2011
by
NoahY
Please
log in
or
register
to add a comment.