+ Reply to Thread
Results 1 to 8 of 8

Thread: hide contact details in top of nova ? how

  1. #1
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028

    hide contact details in top of nova ? how

    I do not wish to use the contact number and email at the top of nova, how would one turn this off please ?

    Attached Images Attached Images
    Last edited by Pete Young; February 20, 2021 at 12:51 PM.

  2. #2
    Guru
    Join Date
    Jul 2019
    Location
    Australia
    Posts
    657
    hello pete,

    i went and searched for it in languages and then just removed it by editing the phrase or number.

  3. #3
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    Hello kiowa, i tried deleting the wording but the editor just keeps replacing the text if i delete it and leave it blank ? there seems to be no way to delete the field completely that i can see see? unless i am doing something wrong ?
    Last edited by Pete Young; February 20, 2021 at 12:52 PM.

  4. #4
    Guru
    Join Date
    Jul 2019
    Location
    Australia
    Posts
    657
    i deleted the phone number completely in the phrase manager after i searched for it. so yes leave it blank. it will remove the number and the icon.

    have a look at my home page: boatfind.com .au
    Last edited by kiowa; November 26, 2019 at 10:20 AM.

  5. #5
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,137
    To completely remove it (including icons)

    go to ftp > templates > your template > tpl > header.tpl

    find a row with tag span:

    Code:
    Only registered members can view the code.
    remove this container and everything inside

  6. #6
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    For those wanting to do this you can make the changes by just blocking out the parts you do not want, see example below.

    in the top part i have commented out the mailto href to remove that and the image but left the lang field open, and in the phone section i have blocked it all out.

    this now allows me to now use that part as a message board per say and you can even add urls to the text using html in the languages section > contact_email

    example > add my text here and <a href = " https : // mysite.com / " > my link here </a>

    Cheers + Thanks to Rudi & Kiowa for the help



    <span class="header-contacts d-none d-md-block font-size-xs font-weight-semibold">
    {if $lang.contact_email}
    {*<a class="color-gray contacts__email mx-3" href="mailto: {$lang.contact_email}">*}
    {*<svg viewBox="0 0 12 10" class="mr-1">
    <use xlink:href="#envelope-small"></use>
    </svg>*}
    {$lang.contact_email}
    </a>
    {/if}
    {*{if $lang.phone_number}
    <a class="d-lg-none d-xl-inline color-gray contacts__handset mx-3" href="tel: {$lang.phone_number}">
    <svg viewBox="0 0 12 12" class="mr-1">
    <use xlink:href="#handset"></use>
    </svg>
    {$lang.phone_number}
    </a>
    {/if}*}
    </span>
    Last edited by Pete Young; February 20, 2021 at 12:52 PM.

  7. #7
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,137
    Thanks Pete,

    Also it can be hidden via css style without accessing tpl file:

    go to css > bootstrap.css > .d-md-block { (~1453)

    remove:
    Code:
    Only registered members can view the code.

  8. #8
    Guru
    Join Date
    Jul 2019
    Location
    Australia
    Posts
    657
    thanx for the code guys.

+ Reply to Thread