Help with CSS + Detail page layout

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

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #298516

    edge
    Buyer
    Post count: 191

    Hi! 🙂

    I tried my best with figuring out CSS (i tried to learn here: https://wpgeodirectory.com/docs/customizing-your-style/ and here: http://www.w3schools.com/css/)
    but i would highly appreciate some help.

    What i would love to accomplish:

    1. Search button in orange with dark borders
    I tried this but failed:

    .button.geodir_submit_search {
    background-color: #F68423!important;
    border: 2px solid #f3f3f3!important;
    border-radius: 4px!important;
    }

    2. White content-wrap or at least total White background on SEARCH pages and LISTING DETAIL pages.
    My X theme is set to have a grey background with a white content-wrap (white container where all the content is). It seems GD pages don’t have title in the content-wrap. How can i change this?

    3. DETAIL Page
    3.1 remove category “Place Category: [category name]”

    3.2. remove the image on the top right (Rating Info section) because image is shown 2x on the page.

    3.3. Add a “write review” button to the Rating Info section

    3.4. How can I display the map under “more info” tab (separate tab for map deactivated)

    Thank you!
    Gerald

    #298676

    Kor
    Moderator
    Post count: 16516

    Hi Gerald,

    I noticed that you have a few Websites based on the records. Which one are you referring to? You can post the details here using the private reply option below.

    #298699

    edge
    Buyer
    Post count: 191
    This reply has been marked as private.
    #300292

    edge
    Buyer
    Post count: 191

    Hi there, Did you have a chance to look at this?

    #300504

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #300587

    edge
    Buyer
    Post count: 191
    This reply has been marked as private.
    #301120

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #301127

    Kor
    Moderator
    Post count: 16516

    Hi Gerald,

    I just received a response from the developer regarding the #3.3 question and I’d like you to insert the custom snippet below into the “code snippets” plugin. https://wordpress.org/plugins/code-snippets/ . Well, let us know if it works.

    
    
    /***** CODE STARTS HERE *****/
    // Add link to submit a review in the detail sidebar.
    function geodirectory_add_review_link_in_sidebar() {
        global $post, $preview;
        
        if ( !$preview && !empty( $post ) ) {
            $review_link = get_comments_link( $post->ID );
            $review_link = str_replace('#reviews', '#respond', $review_link);
            ?>
            <div class="geodir_more_info geodir_add_review">
                <span><i class="fa fa-edit"></i> <a id="geodir_add_review_link" href="javascript:void(0);"><strong><?php _e( 'Write a review', 'geodirectory' ) ;?></strong></a></span>
                <script type="text/javascript">
                    jQuery(function($) {
                        $('#geodir_add_review_link').click(function(e){
                            $('#gd-tabs [data-tab="#reviews"]').trigger('click');
                            jQuery('html, body').animate({
                                scrollTop: jQuery('#respond').offset().top
                            }, 500);
                        });
                    });
                </script>
            </div>
            <?php
        }
    }
    add_action( 'geodir_after_detail_page_review_rating', 'geodirectory_add_review_link_in_sidebar', 10 );
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
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount