Hello,
I would like to have a \”Ask Question\” – button in the form you have it, acutally another size and color but I do not know how the code in gerneral has to look like. Could you provide me with the css-code and then I could make some changes?
Many thanks!
Niklas
You can use the following code:
.dwqa-questions-footer .dwqa-ask-question a {
color: #...;
font-size: ...px;
background: #...;
border-color: #...;
padding: ...;
}
Many thanks. Could you also write me where excatly I have to put that code?
I put it in sytle.css and also below the code :
Start your code here
<div style=”text-align: right;”>
<?php if ( dwqa_current_user_can( ‘post_question’ ) ) : ?>
<div class=”dwqa-ask-question”><a href=”<?php echo dwqa_get_ask_link(); ?>”><?php _e( ‘<font size=”5″ color=”blue”><b>Eine öffentliche Frage stellen</b></font>’, ‘dwqa’ ); ?>
.dwqa-questions-footer .dwqa-ask-question a {
color: #...;
font-size: ...px;
background: #...;
border-color: #...;
padding: ...;
}
</a></div>
<?php endif; ?></div><?php endif; ?><?php endif; ?>
But both solutions did not work.
You can add the css code to the style.css file. Also, if you still face their issue, you can send me username & password of your site for further checking.
Hey,
maybe you overlooked it but I already put it in style.css file but it did not work. Is there any way to embed it directly into the code?
Please send me username & password of your site for further checking.
Please login or Register to submit your answer