Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #406149

    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!

    • This topic was modified 9 years, 8 months ago by wolfdogg.
    #406519

    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

    #406555

    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?

    #406582

    Hey!

    Thanks, hope you are too! :)
    Can you post the link to your page please?

    Cheers!
    Yigit

    #406583
    This reply has been marked as private.
    #406588

    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

    #406598

    That did the trick! Thank you sir! Much appreciated!

    #406600

    Hey!

    You are welcome, glad we could help! Let us know if you have any other questions or issues :)

    Regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘How to change the Search button text in forum?’ is closed to new replies.