GeoDirectory Custom Field CSS

This topic contains 7 replies, has 2 voices, and was last updated by  Mauro Rodrigues 7 years, 4 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #392922

    Mauro Rodrigues
    Buyer
    Post count: 54

    Hi,

    I added some custom fields to my Restaurants Category and the ones using FontAwesome aren’t properly stylized. The price one is alright, used a custom select. For the other two I used a Checkbox and the fa icon is attached to the top border of the rectangle instead of being in the center of it. I tried using some css but didn’t work at all and now I’m back to the original code. Any fixes?

    Thanks!

    #392924

    Mauro Rodrigues
    Buyer
    Post count: 54

    Also, anyway to customize their appearance in the details page only? They appear all crammed up, I would like atlas some space between them.

    #392930

    Guust
    Moderator
    Post count: 29970

    Please post the URL of those pages and your WP admin details in a private reply, then we can have a check.
    If you review this article, you probably can fix it yourself: https://wpgeodirectory.com/docs/customizing-your-style/

    Thanks

    #392937

    Mauro Rodrigues
    Buyer
    Post count: 54
    This reply has been marked as private.
    #392939

    Guust
    Moderator
    Post count: 29970

    Add something like this:

    
    
    .geodir_wifirestaurants, .geodir_parkrestaurants {
        padding: 6px 0px 2px 0px !important;
    margin: 3px 3px 3px 0 !important; 
    border: 1px solid #0000cd !important;
    }
    .geodir_pricerestaurants {
        margin: 3px 3px 3px 0 !important;
        height: 29px;
    }

    I added it at GD > Design > Scripts, but you should be able to work these things out with your browser’s code inspector.

    Thanks

    #392950

    Mauro Rodrigues
    Buyer
    Post count: 54

    Alright Guust, I stopped programming 4 years ago and I never learned much html/css, so I’m still learning.

    Thank you very much!

    #392952

    Guust
    Moderator
    Post count: 29970

    CSS is the easiest, and you cannot really break anything with it, only stuff up the looks of things.
    Thanks

    #392957

    Mauro Rodrigues
    Buyer
    Post count: 54

    Alright, thanks Guust!

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