How to with CSS?

This topic contains 10 replies, has 3 voices, and was last updated by  Kor 7 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #278154

    rmccmktg
    Free User
    Post count: 203

    I decided to start a new post to ask about CSS specifically. I don’t want to go change the GD style sheet only to have it over written with an upgrade.

    1. Listing Photos – how to display: none. I’ve tried this in my style sheet but the GD style is over riding it. .geodir-post-img {display:none;}

    2. How do I NOT display the CATEGORY as shown here: http://rmcc.bwwtest.com/?geodir_search=1&stype=gd_place&s=aurora&snear=&sgeo_lat=&sgeo_lon=

    3. Content – how to stop GD from over riding MY style for the body content. I’ve tried several things in my style sheet but nothing works.

    Thanks!

    #278203

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    the best place to save your css to avoid losing it when updating is in GD > design > scripts > custom css.

    It will be saved in the database and no update will ever delete it.

    1) `.geodir_category_list_view li .geodir-post-img {
    display: none;
    }`

    2) Can we have a link where the categories are showing? I can’t find it, maybe you already solved?

    3) I think I’ll need an example for this too. GeoDirectory shouldn’t override any style added to the content of listings.

    Let us know,

    Thanks

    #278284

    rmccmktg
    Free User
    Post count: 203

    Yes, I was able to customize some CSS in my style sheet. But still having trouble with other CSS elements. I’ll do this from now on though.

    1. As far as the images – I really only want the images on LOCATIONS to display: none. But on the other CPT (Physicians) I do want an image to show. Can you tell me what CSS I need for this?

    3. If you look at this listing page http://rmcc.bwwtest.com/?geodir_search=1&stype=gd_place&s=aurora&snear=&sgeo_lat=&sgeo_lon= you’ll see that GD is over riding my content styles as compared to a non-GD page here http://rmcc.bwwtest.com/bladder-kidney-cancer/

    Also, GD is adding in the breadcrumbs even though I have them turned off in Genesis. How to I remove the breadcrumbs?

    Thanks so much!

    #278431

    Kor
    Moderator
    Post count: 16516

    Hi Kim,

    1. I can’t find any other CPT besides location. Did you remove it already?

    3. You can use the custom CSS below to match the stylings

    
    
    .geodir-content p {
        color: #333;
        font-family: 'Open Sans', sans-serif;
        font-weight: 400;
        line-height: 1.5; 
        font-size: 1.125rem;
    }
    
    .geodir_category_list_view h3 a{
        color: #232525;
        font-family: "Open Sans", Helvetica, Arial, sans-serif;
        font-weight: 700;
        line-height: 1.2;
        font-size: 1.5rem;
    }

    To remove the breadcrumbs, apply the custom CSS code below.

    
    
    .geodir-breadcrumb {
        display: none;
    }

    Thanks!

    #278534

    rmccmktg
    Free User
    Post count: 203

    Hmm, there are 3 CPT – all showing here: http://rmcc.bwwtest.com/places/boulder/boulder/ under VIEW ALL on the side column.

    Thanks! I’ll try this CSS.

    #278535

    Kor
    Moderator
    Post count: 16516

    Hi Kim,

    That’s the “GD > CPT Listings” Widget. Go to Appearance > Widget > GD Detail Sidebar and remove that widget.

    Thanks!

    #278539

    rmccmktg
    Free User
    Post count: 203

    I’m sorry, I was confused. Yes, only the one CPT is showing right now as I don’t have any listings entered in under Physicians or the other yet.

    But I don’t want the photo showing under the LOCATIONS which is showing up right now. Is this possible?

    Thanks!

    #278540

    rmccmktg
    Free User
    Post count: 203

    As far as the CPT Widget – I want to have a widget on the side column to VIEW all in each CTP. For example:

    VIEW ALL:
    Locations
    Physicians
    Advanced Practice Providers

    How do I do this?

    #278567

    Kor
    Moderator
    Post count: 16516

    Hi Kim,

    Looks like you’ve solved your issues. Here’s how it looked like on my end. Listing location page http://prntscr.com/cqmw1s and here’s the sidebar CPT widget http://prntscr.com/cqmwrt . Let us know if you need anything else.

    Thanks!

    #278575

    rmccmktg
    Free User
    Post count: 203

    Yes, for the VIEW ALL on the sidebar I simply did a Rich Text Widget with links. That’s fine.

    As far as removing the images on locations that worked as well. I just want to make sure that doesn’t remove them for the other CTPs. I’ll add some listings for those CPTs and see in just a bit.

    Thanks for your help!

    #279217

    Kor
    Moderator
    Post count: 16516

    Hi Kim,

    Alright then, let us know how it goes.

    Thanks!

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

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

Open Support Ticket