Lost text and button on main page

Solved5.95K viewsIssues
0

Hello,

Iwas trying edit my home page text from “Got lots of questions? Lucky, we got lots of answers as well.” I clicked the edit button and it showed no text so i added “Welcome!” to see what it would do and its now gotten rid of the original text and the ‘Ask Question” button. How can i get this back? Also whats the best way to edit this in the future because it doesn’t give me the option to edit text size or add buttons etc.?

The first picture is what it used to look like, the second one is what it looks like now and the third is what i get when i click edit to change text. etc.

0

For question block:

<h2 class="entry-title">Got lots of questions?</h2>
<p class="entry-content">Lucky, we got lots of answers as well.</p>
<div class="site-header-buttons">
        <a class="btn btn-ask btn-default btn-lg" href="http://localhost/askbug/questions/ask/">Ask question</a>
</div>

For Answer block:

<h2 class="entry-title">Are you an expert?</h2>
<p class="entry-content">Share your knowledge and experiance.</p>
<div class="site-header-buttons">
     <a class="btn btn-answer btn-default btn-lg" href="http://localhost/askbug/questions/?ap_sort=unanswered">Answer</a>
</div>

If you want to default values then keep it blank.

If you want to edit it manually simply edit header.php from line 117.

selected as best answer
0

2 Steps

1 – Click “Edit” and “Clear up” everything you typed in the box

2 – Click “Update” and “Refresh” the page

Tadaaa | Don’t forget to Vote UP this answer
@rahul – thank you for letting us discover how to change the text
@terrence – thank you for the hint

edited answer
0

Just replace the text from that file with the fresh text you downloaded on your computer

 

you should have the file saved on your computer, just select all and copy… then delete all the text in the file for your site, then paste the original code

commented on answer

Thanks for the reply Tarrence. I’m sorry but i’m still a newbie to all of this and don’t quite understand what you mean, could you send some screenshots please?