Giri

Forum Replies Created

Viewing 15 posts - 166 through 180 (of 2,661 total)
  • Author
    Posts
  • in reply to: Customize Grid View #392471

    Giri
    Expired Member
    Post count: 3155

    You are welcome.

    in reply to: Customize Grid View #392328

    Giri
    Expired Member
    Post count: 3155

    Hi Andrea, you can use this hook.

    geodir_after_favorite_html

    
    
    add_action('geodir_after_favorite_html' ,'geodir_after_favorite_html_date');
    function geodir_after_favorite_html_date($post_id)
     {
      echo get_the_date();
     }
    in reply to: Pages layout breaks when unchecking 'Search right section' #392279

    Giri
    Expired Member
    Post count: 3155

    Hi Neil, changed the css to this.

    
    
    
    @media (min-width: 981px) {
    body.single.et_pb_gutter.et_pb_gutters2 #left-area {
        width: 77.25%;
    }
    .search-results #left-area,
    .archive #left-area {width: 100% !important; padding-right: 0% !important;}
    }
    body.search.geodir_advance_search #main-content .container:before,
    body.archive #main-content .container:before {
    background-color: transparent !important; 
    }
    body.search.geodir_advance_search h1.entry-title {
    width: 80%;
        max-width: 1080px;
        margin: auto;
    }
    body.search.geodir_advance_search .container {
    	width: 100%;
    	max-width: 100%;
    }
    body.search.geodir_advance_search #content-area,
    body.search.geodir_advance_search #footer-bottom .container {
    	width: 80%;
        max-width: 1080px;
        margin: auto;
    }

    Thanks

    in reply to: Columns Not Equal #392139

    Giri
    Expired Member
    Post count: 3155

    Hi Jay,

    Stiofan told me that those GD settings won’t work with some themes. You need to use your native theme settings.

    Thanks

    in reply to: Content box Background Colour cannot change. #392136

    Giri
    Expired Member
    Post count: 3155

    Hi there,

    No I don’t have the custom css. Please take screenshot and point me the areas where you need those css. I’ll write custom css and give it you.

    Thanks

    in reply to: Footer Widget Width #392135

    Giri
    Expired Member
    Post count: 3155

    Are you talking about vertical center?

    in reply to: Content box Background Colour cannot change. #391700

    Giri
    Expired Member
    Post count: 3155

    Yes that DS is created for GD. Supreme changes only the styles.

    Thanks

    in reply to: Content box Background Colour cannot change. #391696

    Giri
    Expired Member
    Post count: 3155

    You seem like you are using the DS theme now. Are you gonna stick with that one?

    in reply to: Content box Background Colour cannot change. #391690

    Giri
    Expired Member
    Post count: 3155

    content box background colour is coming from directory starter theme. Supreme overrides directory-starter templates. So supreme doesn’t use the content-box class.

    You may have to override the styles by using custom css. Sorry about that.

    Let me know where you want that bg color. I’ll give you custom css for that.

    Thanks


    Giri
    Expired Member
    Post count: 3155

    It looks better but the footer is still not full width, it’s as if there is an element that is not floated properly or similar?

    Its full width for me.

    https://www.dropbox.com/s/fs7n43c5k6qtavv/Screenshot%202017-08-17%2019.33.49.png?dl=0

    in reply to: Pages layout breaks when unchecking 'Search right section' #391656

    Giri
    Expired Member
    Post count: 3155

    Hi Neil,

    I added some more css.

    
    
    body.geodir_advance_search .container {
    	width: 100%;
    	max-width: 100%;
    }
    body.geodir_advance_search #content-area,
    body.geodir_advance_search #footer-bottom .container {
    	width: 80%;
        max-width: 1080px;
        margin: auto;
    }

    Hope that helps

    in reply to: Pages layout breaks when unchecking 'Search right section' #391647

    Giri
    Expired Member
    Post count: 3155

    @guust,

    I have added the following code there.

    
    
    body.geodir_advance_search #main-content .container:before {
    background-color: transparent !important; 
    }
    body.geodir_advance_search h1.entry-title {
    width: 80%;
        max-width: 1080px;
        margin: auto;
    }
    in reply to: Featured area popular categorise edit. #391496

    Giri
    Expired Member
    Post count: 3155

    You are welcome.

    in reply to: Featured area popular categorise edit. #391483

    Giri
    Expired Member
    Post count: 3155

    Apply this css.

    
    
    .sd.home .featured-area .geodir-pcat-show, .sd.sd-location .featured-area .geodir-pcat-show {
         margin-bottom: 10px;
    }
    in reply to: Featured area popular categorise edit. #391450

    Giri
    Expired Member
    Post count: 3155

    For the record.

    
    
    function modified_sd_homepage_featured_content() {
    	if (is_singular() && geodir_is_page('location') && $location = sd_gd_current_location_name() ) { ?>
    		<h1 class="entry-title"><?php echo esc_attr(__($location, 'geodirectory')); ?></h1>
    	<?php } else { ?>
    		<h1 class="entry-title"><?php the_title(); ?></h1>
    	<?php }
    
    	$sub_title = get_post_meta(get_the_ID(), 'subtitle', true);
    
    	if (geodir_is_page('location') && defined('GEODIRLOCATION_VERSION')) {
    		$loc = geodir_get_current_location_terms();
    		$location_type = geodir_what_is_current_location();
    		$country_slug = '';
    		$region_slug = '';
    		if ($location_type == 'city') {
    			$slug = $loc['gd_city'];
    			$region_slug = isset($loc['gd_region']) ? $loc['gd_region'] : '';
    			$country_slug = isset($loc['gd_country']) ? $loc['gd_country'] : '';
    		} else if ($location_type == 'region') {
    			$slug = $loc['gd_region'];
    			$country_slug = isset($loc['gd_country']) ? $loc['gd_country'] : '';
    		} elseif($location_type == 'country') {
    			$slug = $loc['gd_country'];
    			$country_slug = isset($loc['gd_country']) ? $loc['gd_country'] : '';
    		}
    		else {
    			$slug = '';
    		}
    		$seo = geodir_location_seo_by_slug($slug, $location_type, $country_slug, $region_slug);
    		$tagline = (isset($seo->seo_image_tagline)) ? __($seo->seo_image_tagline, 'geodirlocation') : '';
    		if ($tagline) {
    			$sub_title = stripslashes($tagline);
    		}
    
    	}
    	if (isset($sub_title)) {
    		echo '<div class="entry-subtitle">' . $sub_title . '</div>';
    	}
    
    	sd_search_form_shortcode();
    	echo do_shortcode('[gd_popular_post_category category_limit=6 category_restrict=1]');
    
    	echo '<div class="home-more" id="sd-home-scroll"><a href="#sd-home-scroll" ><i class="fa fa-chevron-down"></i></a></div>';
    }
    add_action('geodir_wrapper_open', 'modified_sd_homepage_featured_content_init', 4);
    function modified_sd_homepage_featured_content_init() {
    	remove_action('sd_homepage_content','sd_homepage_featured_content');
    	add_action('sd_homepage_content','modified_sd_homepage_featured_content');
    }
Viewing 15 posts - 166 through 180 (of 2,661 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount