Changing background colour of "read more" on listings pages

This topic contains 8 replies, has 3 voices, and was last updated by  Helen Leach 1 year, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #539986

    Helen Leach
    Full Member
    Post count: 42

    Hi there,
    First up, I’m loving the new version of GeoDirectory. It’s a lot easier and has all the functionality that I am looking for whilst looking amazing too. Keep up the incredible work!

    Just a quick question….. I have changed the background colour to all my pages but the “read more” on the listing pages come up gradient white. Is there a way I can adjust this so it matches colour with the new background?

    I have attached a screen shot with the issue highlighted in red.

    Big thanks,
    Helen

    #540003

    Kor
    Moderator
    Post count: 16516

    Hi Helen Leach,

    Thanks for your post. Please share your Website URL here and I’ll tell you how this can be done.

    #540009

    Helen Leach
    Full Member
    Post count: 42
    This reply has been marked as private.
    #540053

    Kor
    Moderator
    Post count: 16516

    Hi Helen,

    Thanks for your reply. Please apply the custom CSS code below.

    body ul.geodir-category-list-view li .gd-list-item-right .geodir-field-post_content .gd-read-more-fade, body ul.geodir-category-list-view li .gd-list-item-right .geodir-post-content-container .gd-read-more-fade {
        background-image: none!important;
    }
    #540062

    Helen Leach
    Full Member
    Post count: 42

    Thanks Kor,
    Done that but now the “read more” overlaps the listing text. I think we need to just change the background image colour from white to the one I am using? Is this possible? Am happy to use other solutions you may think up…
    Thanks,
    Helen

    #540068

    Alex Rollin
    Moderator
    Post count: 27815

    You would need custom CSS to adjust it.

    Instead, why not change the settings of GD Post Content in the archive item.

    If you remove min_height then it will not use a gradient at all.

    Use the shortcode builder to find settings that work for you.

    https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/

    #540107

    Helen Leach
    Full Member
    Post count: 42

    Hi Alex
    Would I do that in editing the GD-Settings-pages-Archive item page? As I can’t see GD Post content min_height. max_height yes but not min_height….

    #540124

    Kor
    Moderator
    Post count: 16516

    Hi Helen,

    Thanks for your reply. The custom CSS code below should fix it.

    body ul.geodir-category-list-view li .gd-list-item-right .geodir-field-post_content .gd-read-more-fade, body ul.geodir-category-list-view li .gd-list-item-right .geodir-post-content-container .gd-read-more-fade {
        position: relative;
    }
    #540130

    Helen Leach
    Full Member
    Post count: 42

    Hi Kor
    Genius!!! In fact, it’s a combination of both CCS you have provided that has given the perfect result. You are the best!!!

    /* Remove gradient white from “read more” on listing pages */
    body ul.geodir-category-list-view li .gd-list-item-right .geodir-field-post_content .gd-read-more-fade, body ul.geodir-category-list-view li .gd-list-item-right .geodir-post-content-container .gd-read-more-fade {
    position: relative;
    background-image: none!important;
    }

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

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

Open Support Ticket