Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #384661

    I wanted to know if were possible to change the color of the ‘main content area’ for a specific page? In my case, the contact me page I am doing for a client? I want the submit button to be pink and the asterisks pink too (Which I could do if I change the color in the enfold child options but I don’t want all my clients links and highlights pink on the other pages.) But I only want it like this for a specific page (Contact me) is it possible? Here’s a link below with a picture of how I want the color styling for that page only, the specific portions of the page are circled in black.

    [img]http://i.imgur.com/ysX6TEn.jpg?1[/img]

    http://i.imgur.com/ysX6TEn.jpg?1 (Direct link to example picture)

    Below is the specific area I need to edit to get the effect I want within enfold child options but only want the pink color for that specific page stated above. Pink is the color #eec8c8
    General Styling
    Main Content (Tab)
    Primary color
    Font color for links, dropcaps and other elements

    I’ll also leave login details below if needed.

    Thanks,

    Iconward

    • This topic was modified 9 years, 10 months ago by Iconward.
    #385300

    Hi Iconward!

    Thank you for visiting the support forum.

    You can use the page’s body class id. Something like this:

    .page-id-29 #submit, .page-id-29 input[type='submit'] {
    background-color: pink;
    border-color: black;
    }

    Regards,
    Ismael

    #386613

    Hi Ismael,

    Where exactly do I place the code? Do I just paste it into my enfold child theme’s functions.php within the editor?

    I got this error when I pasted the code in functions.php belwo the line where it says add your functions here

    Parse error: syntax error, unexpected ‘.’ in /home4/econward/public_html/wp-content/themes/enfold-child/functions.php on line 8

    Thanks.

    #386614

    Now the website won’t load i get this error

    Parse error: syntax error, unexpected ‘.’ in /home4/econward/public_html/wp-content/themes/enfold-child/functions.php on line 8

    #386622

    Never mind I went into my FTP and deleted the line you recommended within enfold-child functions.php file. But I obviously didn’t add the code right and still need help with that. Thank you for the time and patience with me. I am still a very new and green developer.

    #386636

    Hi!

    Please go to Enfold theme options > General Styling and add the code to Quick CSS field. You can also add the code to Custom.css file which is inside Enfold/css folder

    Best regards,
    Yigit

    #386656

    Ok I got the submit button pink, but not the asterisk in the your name, email, subject’s field, similar to the picture I provided up above, but putting the code in the Quick CSS field worked! Thanks Yigit.

    • This reply was modified 9 years, 9 months ago by Iconward.
    #387145

    Hey!

    Please add following code to Quick CSS as well

    .main_color .required {
    color: orange;
    }

    Regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.