Listing Archive CSS Not Updating

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

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • #16667
    sunwest
    Spectator

    Hi there,

    I customized the listing archive and encountered the following problems:

    1. PRICE color aint updating. I have tried almost everything I know but the color is not changing. I edited the theme’s css, main plugin’s css, listing template css and on the template php file itself but no to avail. I just wanted it to be white or any lighter color.

    2. How can we resize the thumbnail on arhive page.

    3. How can I change the icons to texts. So instead of showing the bed, shower and garage icons, real texts would show instead.

    Thanks.

    #16668
    sunwest
    Spectator
    This reply has been marked as private.
    #16831
    Merv Barrett
    Keymaster

    Looks like you sorted out 1 and 2.

    To achieve 3 you need to remove the icons using remove_action and add them again with a custom function.

    // Removes default icons
    remove_action( 'epl_property_icons' , 'epl_property_icons' );
    <?php
    /*
     * Printable Icons
     *
     * @since 1.1
     */
    function my_epl_get_property_icons() {
    	global $property;
    	return $property->get_property_bed( 'l' ).
    		$property->get_property_bath( 'l' ).
    		$property->get_property_parking( 'l' ).
    		$property->get_property_air_conditioning( 'l' ).
    		$property->get_property_pool( 'l' );
    }
    <?php
    /*
     * Output Printable Icons
     *
     * @since 1.1
     */
    function my_epl_property_icons() {
    	echo my_epl_get_property_icons();
    }
    add_action('epl_property_icons','my_epl_property_icons'); // Adds the new icons
    • This reply was modified 8 years, 8 months ago by Merv Barrett.
    #16910
    sunwest
    Spectator

    Where will I put these codes? To the theme’s function.php?

    • This reply was modified 8 years, 8 months ago by sunwest.
    #16924
    Merv Barrett
    Keymaster

    Yes that is correct.

    #16944
    sunwest
    Spectator

    Thanks Merve. Anyway how about if we just want to unhook some features like

    $property->get_property_air_conditioning( ‘l’ ).
    $property->get_property_pool( ‘l’ );

    #16953
    sunwest
    Spectator

    I mean this time we still want the icons bust just unhook the remaining features after bed, bath and parking.

    #17008
    Merv Barrett
    Keymaster

    Just remove them in from the new function.
    eg

    <?php
    /*
     * Printable Icons
     *
     * @since 1.1
     */
    function my_epl_get_property_icons() {
    	global $property;
    	return $property->get_property_bed( 'l' ).
    		$property->get_property_bath( 'l' ).
    		$property->get_property_parking( 'l' );
    }
    #17015
    sunwest
    Spectator

    Will this output the icons and not the texts?

    #17021
    Merv Barrett
    Keymaster

    That will output list items

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘Listing Templates’ is closed to new topics and replies.