+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: how to remove the contact owner button in listings page?

  1. #11
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    [QUOTE=Bahram Soltanirad;24943]It is in templates/your_templae_name/tpl/blocks//contact_seller_form.tpl and find
    Code:
    Only registered members can view the code.
    [/QUOTE<a class="button

    wide contact-seller" href="javascript:void(0)" title="Contact Agency">Contact Agency</a>
    ? could not find that bit of code in that section ?

    but can see this \/

    <div class="submit-cell buttons">
    <div class="field">
    <input type="submit" name="finish" value="{phrase key='contact_owner'}" accesskey="{phrase key='contact_owner'}" />
    <input class="hide" type="reset" id="form_reset_{$captcha_box_id}" value="reset" />
    </div>
    </div>

    I have been trying to comment block it out 101 ways but nothing seems to be working ? any ideas on where to put the start and end blocks ?
    Last edited by Pete Young; February 20, 2021 at 01:06 PM.

  2. #12
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    Thanks to the help of Wei & Bahram, I was eventually able to track down the clues to this puzzle, I doubt any other person will want to hide this button, but for those in future that may want to do this find > .seller-short div.form approx. line 5520 in your css and add display: none to the bottom.

    .seller-short div.form {
    margin-top: 25px;
    display: none
    }
    Last edited by Pete Young; February 20, 2021 at 01:07 PM.

+ Reply to Thread