Change font color by using the css class on custom fields

This topic contains 9 replies, has 3 voices, and was last updated by  jjruizrivera 9 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #27837

    jjruizrivera
    Free User
    Post count: 153

    Hi

    A need a bit of help.

    I go to “place setting”–>”custom fields” and then into “field:Category (taxonomy)”. I click on it and scroll down all the way to “css class”.What should I put there if I want to do something as simple as change the font color to green (for example)?

    Thanks in advance

    #27845

    Guust
    Moderator
    Post count: 29970

    You would need to create your own class.
    Add this to your stylesheet:

    .green {color: #006600}

    Then add green in the class field.

    #27860

    jjruizrivera
    Free User
    Post count: 153

    Hi Guust

    I have tried the above but it does not work.

    Do I need to add:

    .green {color: #006600}

    or

    .green {color: #006600;}

    None of them work.

    In the class field all I put is green. Correct?

    Please advise?

    #27862

    Guust
    Moderator
    Post count: 29970

    What is it that you exactly want to change? What on what page?

    Does this work?
    .green {color: #006600 !important;}

    You want to give us your URL and admin details, then I can have a look.
    The “;” does not matter, only if you want to separate 2 specifications.

    #27863

    jjruizrivera
    Free User
    Post count: 153
    This reply has been marked as private.
    #27865

    Guust
    Moderator
    Post count: 29970

    It all worked, have a look now at one of your place listings.
    I’ll have to notify Stiofan though to have a look at this.

    Stiofan, when adding a CSS class to a custom field, it will not work unless you disable GD Booster (I have disabled it for the moment).

    #27867

    jjruizrivera
    Free User
    Post count: 153

    Great!

    Thanks Guust for the quick support.

    #27958

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Please provide FTP details and i’ll take a look

    Thanks,

    Stiofan

    #28063

    jjruizrivera
    Free User
    Post count: 153
    This reply has been marked as private.
    #28888

    jjruizrivera
    Free User
    Post count: 153

    Hi

    do you need the ftp access anymore?

    Regards

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

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

Open Support Ticket