nikelas
asked 7 years ago

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

3 Answers
DominicStaff
answered 7 years ago

You can use the following code: 

.dwqa-questions-footer .dwqa-ask-question a {
    color: #...;
    font-size: ...px;
    background: #...;
    border-color: #...; 
    padding: ...;
}
nikelas
answered 7 years ago

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.

Dominic Staff
replied 7 years ago

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.

nikelas
answered 7 years ago

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?

Dominic Staff
replied 7 years ago

Please send me username & password of your site for further checking.

Powered by DW Question & Answer Pro