New Landing How can we help? Cardinal Directory: functionality

Viewing 15 posts - 1 through 15 (of 16 total)
  • Posted in: Cardinal
  • #157194
    Ian
    Member
    Post count: 121

    Hi Guys,

    Thanks for adding the custom excerpt to the directory, but there are a few items I think still need some ironing out.

    1. Control of the listing order, I would like to be able to use alphabetic
    2. The Pin link now opens in a new window, this is OK for directions, but not OK for links within the site
    3. It would be great if the Pin title would like to the directory listing
    4. There is a div with a class of excerpt showing up in all the pins, but there is no option to include any text
    5. Would also be nice to be able to style the single directory map to match that on the directory page
    #157196
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Thanks again for your suggestions, will forward it to Ed so we can possible consider it in a future update.

    Just have one doubt, what exactly you mean about styling the map in the Single directory page?

    Thanks

    -Rui

    #157203
    Ian
    Member
    Post count: 121

    Rui,

    I have chosen to use a mono coloured map on my directory page and it fits in nicely with by black and white design. But when you go to any single directory listing the map is in full colour and unfortunately for me ends up being the brightest item on the page. Would like to make it mono coloured as well.

    #157209
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    ah, ok. You can change it for now in your theme version.
    Go to the file located in “cardinal/swift-framework/layout/single-directory.php”

    In the line 97 you will see an code that it’s the shortcode to display the map in the single directory page.

    That line start like this:

    <?php echo do_shortcode('[spb_gmaps size="400" type="roadmap" zoom="14" saturation="color" fullscreen="yes" width="1/1" el_position="first last"]

    In your specific situation replace saturation="color" by saturation="mono-light"

    -Rui

    #157229
    Ian
    Member
    Post count: 121

    Thanks will give it a try.

    #157239
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Ok. It should work.
    -Rui

    #216393
    barkovsky
    Member
    Post count: 225

    hi there
    searching for a simpel way to get the directory listing full width
    page builder aktiv
    kind regards

    BK

    #216395
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi @barkovsky,

    Can you provide your directory page url so I can have a look?
    Thanks

    -Rui

    #216399
    barkovsky
    Member
    Post count: 225
    This reply has been marked as private.
    #216400
    barkovsky
    Member
    Post count: 225
    This reply has been marked as private.
    #216403
    barkovsky
    Member
    Post count: 225
    This reply has been marked as private.
    #216407
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Add the code below to your custom css option.

    .directory-results {
        width: 100%!important;
        padding-left: 0px!important;
        padding-right: 0px!important;
    }

    Regarding the size of the map, you can change it inside the file single-directory located at cardinal/swift-framework/layout

    Find this line and replace the 400 by your desired value.

    <?php echo do_shortcode('[spb_gmaps size="400" type="roadmap" zoom="14" saturation="color" fullscreen="yes" width="1/1" el_position="first last"] [spb_map_pin pin_title="' . get_the_title() . '" address="' . $map_address .'" pin_latitude="' . $map_lat_cord . '" pin_longitude="' . $map_lng_cord . '" pin_image="' . $map_pin . '" pin_link="' . $map_pin_link . '" pin_button_text="' . $map_pin_button_text . '" width="1/1" el_position="first last"][/spb_map_pin] [/spb_gmaps]'); ?>

    -Rui

    #216415
    barkovsky
    Member
    Post count: 225

    thx Rui
    get this message form CSS

    use of !important
    values of 0 shouldn’t have units specified

    .directory-results {
    width: 100%!important;
    padding-left: 0px!important;
    padding-right: 0px!important;
    }

    #216428
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Don’t worry with those warnings, this is how it should be done.

    -Rui

    #216430
    barkovsky
    Member
    Post count: 225

    Cheers
    hav a nice day Rui

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in to reply to this topic.