PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

change the background colour for the text

  1. Marosh
    Member

    HI,
    I was following post :
    http://www.gravityhelp.com/forums/topic/two-different-css-classes-for-section-field-description-text-please-help#post-6533

    Than I tried change the background colour for the text but I get pop-up window about the
    express written permission of the author.

    It is because I have not developer license Key?

    Thanks
    Marosh

    Posted 13 years ago on Monday April 11, 2011 | Permalink
  2. I don't understand what you mean by a pop up window about the express written permission of the author. What exactly are you trying to do?

    To customize CSS styles you would add custom CSS to your themes stylesheet to target and style whatever form element you want to customize. Adding CSS can't popup a window. It's CSS.

    Posted 13 years ago on Monday April 11, 2011 | Permalink
  3. Marosh
    Member

    Hi Carl,
    Sorry for miss-understanding. I will try explain one more time.
    Well, In my plugins folder I have two GravityForm folders:
    1, gravityforms1.4 (what is version1.4 and I am not using)
    2,gravityforms (what is new version 1.5.1.1 I guess)

    Now I can do any file changes in gravityforms1.4 folder but not in gravityforms folder. When I am going change anything gravityforms folder I get this pop up window :

    Pop up window shows:
    Error Copying File or Folder
    Cannot copy forms: Access is denied,

    Make sure that disk is not full or write-protected and that file is not currently in use.

    Any ideas why?

    Thank you

    Posted 13 years ago on Monday April 11, 2011 | Permalink
  4. You can't have 2 versions of Gravity Forms installed the way WordPress plugins work. So that isn't going to work out for you if they are both on your site.

    As for the errors you are getting, those sound like file permission errors. Those are unrelated to Gravity Forms. Those are server permission related.

    You shouldn't be editing/changing Gravity Forms files anyway, or at least if you want to be able to keep up to date with how Gravity Forms updates.

    There is no need to change the core files when you can make customizations using the available hooks/filters and for CSS you would add any custom styles to your themes stylesheet.

    Posted 13 years ago on Monday April 11, 2011 | Permalink
  5. Marosh
    Member

    It sort it now. You was right, it was problem with server permission.
    Thanks Carl. Much appreciated.

    I understand policy of gravityform regarding editing/changing Gravity Forms files. I didnt want to change files, I tried to follow post from RichardBest:
    http://www.gravityhelp.com/forums/topic/two-different-css-classes-for-section-field-description-text-please-help#post-6533

    And when I tried pasted form.css in the theme's stylesheet I get this permission pop-up window.
    And than I tried find out the problem by editing/deleting/renaming etc. And still I get this server permission problem. Than I asked you for help. Than after your respond I noticed that this is no
    just in gravityform folder but in every single folder/file in wordpress.

    But now is everything OK and I can concentrate on my work in wordpress.
    ---------------------------------------------
    Well, I am trying achieve this one from Kevin Flahaut:
    http://c0848462.cdn.cloudfiles.rackspacecloud.com/b46fe57e0fed38a2f4b95e831ce88a29.png
    code:
    ( 1#gform_wrapper_29 #field_29_2 .gsection_description {background-color:red; padding:10px;}
    )

    MY QUESTIONS:

    1, Question,
    This is the values from database, where I need change colour of background
    id=757 lead_id=51 form_id=7 field_number = 16.1 value=RAL7032

    Well, in my case is this the code below correct?
    code:
    ( 1#gform_wrapper_7 #field_16_1 .gsection_description {background-color:red; padding:10px;}
    )

    2 Question,
    But It is not really clear for me, where can I add code? and what css file?

    Thank you

    Marosh

    Posted 13 years ago on Tuesday April 12, 2011 | Permalink
  6. @Marosh You would any custom CSS to your themes stylesheet. Your code above is incorrect. The code you would want to add is:

    [css]
    #gform_wrapper_7 #field_16_1 .gsection_description {background-color:red; padding:10px;}
    Posted 13 years ago on Tuesday April 12, 2011 | Permalink
  7. Marosh
    Member

    Hi Carl,
    I pasted the code you gave me:

    #gform_wrapper_7 #field_16_1 .gsection_description {background-color:red; padding:10px;}

    to the themes CSS ("template css.css"). And nothing change :-(

    I was thinking if the container ID/field ID need to be like that:
    #gform_wrapper_7 #field_7_16 .gsection_description {background-color:red; padding:10px;}

    However, it's not working as well.

    Again this is my database details of the field:
    id=355 / lead_id=29 / form_id=7 / field_number = 16.1 / value=RAL7032 /

    Thanks in advance
    Marosh

    Posted 13 years ago on Wednesday April 13, 2011 | Permalink
  8. Please post a link to your form so we can see it/browse it and we can inspect it and help you with the CSS. It's difficult to do without being able to see your form on your site.

    Posted 13 years ago on Wednesday April 13, 2011 | Permalink