cover image in ask question page

5.20K viewsThemes
0

Rahul,

How to set cover image in “Ask Question Page” like yours

1

Copy askbug/template/anspress.php to your child theme.

And paste this code at the top of file:

<?php if(!is_question()): ?>
	<div class="page-header questions-header clearfix">
		<div class="container">
			<h1 class="entry-title">Questions - AnsPress Support</h1>
			<?php dynamic_sidebar( 'question-search' ); //Replace with your own registered position name ?>
		</div>
	</div>
<?php endif; ?>

And simply add background for class .questions-header

Rahul,

I have edited like your order, but the result is just sentence: “Questions – AnsPress Support”.
what do you think for this matter?

what doest it mean “And simply add background for class .questions-header”

You are viewing 1 out of 2 answers, click here to view all answers.