Design Questions

This topic contains 7 replies, has 2 voices, and was last updated by  Paolo 8 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #68236

    austrocrates
    Expired Member
    Post count: 30

    Hello Team,

    i have the core and modern child theme installed – now i want to change some design – anyone can tell me the answer of two questions please?

    1. Where i can change the design from the sidebar adress design in the detail page?
    I want to show it like this:

    ——-
    Adress:
    Street
    ZIP/Post Code City
    ——-

    I think it have to be possible to change the lines and set a break after “adress” in any css or php file?

    2. Where i canb change the design of the google map popup?

    I like to remove the gradiation from the pics and set the “title” under the pics. Also i Like to show the city of the venue there. Like this:

    ——-
    Picture
    ——-
    Title
    Adress (Streeet & Number)
    ZIP/Postcode City
    ——-

    Is this also possible in any css or php file – and if, in which, on which point?

    Best regards, günther

    #68251

    Paolo
    Site Admin
    Post count: 31206

    hi,

    there are hooks for both and you’d need functions to use those filters in your theme functions.php.

    1

    an example here: https://wpgeodirectory.com/support/topic/location-address-display/#post-63344

    2

    
    
    add_filter('geodir_custom_infowindow_html' , 'geodir_get_custom_infowindow_html', 10,3) ;
    function geodir_get_custom_infowindow_html($html , $postinfo_obj, $post_preview = '')
    {
    	return 'Here u can copy content of geodir_get_infowindow_html function and can make necessary changes in html ';
    }

    let us know if this helps.

    Thanks

    #68331

    austrocrates
    Expired Member
    Post count: 30

    To the 1st Point:
    Thank you very much, now it works as i want 🙂

    To the 2nd … i am still fighting with the code … 🙁
    Aren’t there any possibilities to change only the lanes?

    i see the adress lane is:
    <span class=”geodir_address”>
    <i class=”fa fa-home”></i>
    Adress
    </span>

    Isn’t it possible to put another code after this, like this:
    <span class=”geodir_city”>
    <i class=”fa fa-home”></i>
    city
    </span>

    in the file.

    But in which file?
    I read the code out with mozzila.

    And for the “Title Link” – isn’t ist possible to shift the code in the place before “geodir_adress” … ?

    Best regards

    #68399

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    everything is possible, but you need to understand what you are doing. This is considered a customization, not part of support.

    If you can’t figure out how to change something even with instructions, you’ll probably need to hire a php developer to help you out.

    Thanks

    #68411

    austrocrates
    Expired Member
    Post count: 30

    Ok, i only want to know which file is the home of this code …

    #68425

    Paolo
    Site Admin
    Post count: 31206

    fgeodirectory-functions/post_functions.php, the part that you’ll need to copy inside your new function and edit is between line 1771 to 1957.

    Thanks

    #68430

    austrocrates
    Expired Member
    Post count: 30

    Thank you 🙂 (and sorry ’bout my “non-prof-questions”) .. i am learning ..

    #68438

    Paolo
    Site Admin
    Post count: 31206

    You are welcome 🙂

Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket