GD Homepage not showing

This topic contains 6 replies, has 3 voices, and was last updated by  Kiran 8 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #381053

    Reza Javidi
    Free User
    Post count: 3

    Sorry if this has been repeated 1000 times … but i have done everything according to set up guide and my GD homepage is blank. Can you please assist

    #381054

    Reza Javidi
    Free User
    Post count: 3
    This reply has been marked as private.
    #381060

    Reza Javidi
    Free User
    Post count: 3
    This reply has been marked as private.
    #381072

    Kor
    Moderator
    Post count: 16516

    Hi Reze,

    I’ll ask a developer to take a look.

    Thanks!

    #381079

    Kiran
    Moderator
    Post count: 7069

    Hi Reze,

    Please check now, i have added following code snippet to functions.php and now it works fine.

    
    
    function mesocolumn_geodir_wrapper_open( $type = '', $id = '', $class = '' ) {
    ?>
    <style>
    .container-wrap>.gd-mesocolumn-content{float:none;clear:both;width:100%}.geodir-listview article>footer.geodir-entry-meta{width:auto}.geodir-listview article>footer.geodir-entry-meta .geodir-addinfo{width:100%}.gd-mesocolumn-content .effect-1:after,.gd-mesocolumn-content .effect-1:before{content:"";position:absolute;z-index:-500;bottom:20px;left:10px;width:50%;height:20%;max-width:300px;-webkit-box-shadow:0 20px 10px rgba(0,0,0,.75);-moz-box-shadow:0 20px 10px rgba(0,0,0,.75);box-shadow:0 20px 10px rgba(0,0,0,.75);-webkit-transform:rotate(-4deg);-moz-transform:rotate(-4deg);-o-transform:rotate(-4deg);-ms-transform:rotate(-4deg);transform:rotate(-4deg)}.gd-mesocolumn-content .effect-1:after{right:10px;left:auto;-webkit-transform:rotate(4deg);-moz-transform:rotate(4deg);-o-transform:rotate(4deg);-ms-transform:rotate(4deg);transform:rotate(4deg)}.gd-mesocolumn-content h1.header-title{font-size:1.5em;font-weight:400;color:#fff;margin-top:0;margin-bottom:2em;position:relative;background-color:#52C0D4;padding:1% 2%;width:95%}.gd-mesocolumn-content h1.header-title a,.gd-mesocolumn-content h1.header-title a:hover{color:#fff;font-size:.9em;font-weight:400!important;text-decoration:none!important}.gd-mesocolumn-content h1.header-title p{margin:6px 0 15px;font-size:13px;line-height:16px}.geodir-widget h3.widget-title a{color:#333;text-decoration:none}.geodir-widget h3.widget-title{padding:0 0 10px;font-size:1.25em;margin:0 0 .5em;float:left;width:100%;color:#333;border-bottom:5px solid #52C0D4}.widget.geodir-widget table{float:none}.geodir-sidebar-wrap .widget ul.gd-cptcat-ul{float:left;width:100%;list-style:none;margin:0;padding:0;overflow:hidden}.geodir-sidebar-wrap .widget ul.gd-cptcat-ul li{list-style:none;margin:0;padding:1px 0;float:left;width:100%;font-size:1.125em}.geodir-sidebar-wrap .widget ul.gd-cptcat-ul li ul li{float:left;width:90%;list-style:none;margin:0!important;padding:0 0 0 15px;font-size:90%;border:0;display:inline}.geodir-breadcrumb #breadcrumbs{padding:0}.geodir-widget .geodir_list_heading>a.geodir-viewall{width:auto;float:right;margin-right:5px;margin-top:-43px}
    </style>
    <div class="content gd-mesocolumn-content">
        <div class="content-inner">
        <?php
    }
    add_action( 'geodir_wrapper_open', 'mesocolumn_geodir_wrapper_open', 9, 3 );
    
    function mesocolumn_geodir_wrapper_close( $type = '', $id = '', $class = '' ) {
    ?>
        </div>
    </div>
    <?php
    }
    add_action( 'geodir_wrapper_close', 'mesocolumn_geodir_wrapper_close', 9, 3 );
    
    function mesocolumn_geodir_page_title_class( $class = '' ) {
        $class .= ' effect-1 header-title';
        
        return $class;
    }
    add_filter( 'geodir_page_title_class', 'mesocolumn_geodir_page_title_class', 10, 1 );

    Thanks,
    Kiran

    #381159

    Reza Javidi
    Free User
    Post count: 3
    This reply has been marked as private.
    #381240

    Kiran
    Moderator
    Post count: 7069

    Hi Reza,

    I have added code snippet in your theme functions.php file (see at the end of file). You can find that code in my previous reply too, so in future you can add it again in case you loose code after update. You can also use it for another site.
    This code adds some styles and adds wrapper classes to GD pages to make GD pages compatible with mesocolumn theme.

    Thanks,
    Kiran

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount