What’s the easiest way to make ‘Search’ say ‘Forum Search’ – for the long search bar above the forum? I added the text in form-search.php but then noticed it gets chopped off on the iPhone, so it’s not a great solution. I’m just trying to make sure visitors realize that particular search field is for the forum only.
Thanks!
Hey wolfdogg!
Please add following code to Functions.php file
function change_bbp_search_text(){
?>
<script>
jQuery(window).load(function(){
jQuery('input#bbp_search_submit').attr('value','Forum Search');
});
</script>
<?php
}
add_action('wp_footer', 'change_bbp_search_text');
Regards,
Yigit
Hi Yigit,
Hope you’re having a super day!
The function did work to put the correct title there but on my iPhone, it still chops it off. It just shows ‘Forum Se’.
Thoughts?
Hey!
Thanks, hope you are too! :)
Can you post the link to your page please?
Cheers!
Yigit
Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
@media only screen and (max-width: 480px) {
#top #bbp-search-form #bbp_search {
width: 60%;
}
#top #bbp-search-form #bbp_search_submit {
width: 40%;
}}
Best regards,
Yigit
That did the trick! Thank you sir! Much appreciated!